diff --git a/examples/sites/demos/pc/app/calendar-view/calendar-event.spec.ts b/examples/sites/demos/pc/app/calendar-view/calendar-event.spec.ts index ba4f98357e..fbbf57b96e 100644 --- a/examples/sites/demos/pc/app/calendar-view/calendar-event.spec.ts +++ b/examples/sites/demos/pc/app/calendar-view/calendar-event.spec.ts @@ -6,12 +6,12 @@ test('事件', async ({ page }) => { const timeInput = page.locator('.tiny-calendar-view').locator('.tiny-input__inner') const timeBtn = page.getByRole('textbox', { name: '年 05 月' }) const leftYear = page.getByRole('button', { name: '前一年' }) - const month6 = page.getByText('六月') + const month6 = page.getByText('6 月') const leftSvg = page.locator('.header-left > .tiny-svg') const rightSvg = page.locator('.header-right > .tiny-svg') const mode = page.locator('label').nth(2) const modalVal = page.getByText('模式切换事件:schedule') - const date = page.getByText('30周一') + const date = page.getByText('30周一') const dateVal = page.locator('div').filter({ hasText: '点击日期: 2022-5-30;日程事件:[]' }).nth(1) await timeBtn.click()