/** E2E-SCH-002 — schedule cycle Chinese labels (MCP-SCH-001沉淀) */
import { test, expect } from '../fixtures.mjs'
import { login, nav } from '../helpers.mjs'

test('E2E-SCH-002 new schedule shows 开始执行周期', async ({ page }) => {
  await login(page)
  await nav(page, '/schedules')
  await page.getByRole('button', { name: '新建调度' }).click()
  await expect(page.getByText('开始执行周期').first()).toBeVisible()
  await expect(page.getByText('新建调度').first()).toBeVisible()
  await page.getByRole('button', { name: '取消' }).click()
})
