Skip to content

Commit fe25484

Browse files
authored
fix:修复测试用例 (#3483)
1 parent cc1e49e commit fe25484

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/sites/demos/pc/app/calendar-view/calendar-event.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ test('事件', async ({ page }) => {
66
const timeInput = page.locator('.tiny-calendar-view').locator('.tiny-input__inner')
77
const timeBtn = page.getByRole('textbox', { name: '年 05 月' })
88
const leftYear = page.getByRole('button', { name: '前一年' })
9-
const month6 = page.getByText('六月')
9+
const month6 = page.getByText('6 月')
1010
const leftSvg = page.locator('.header-left > .tiny-svg')
1111
const rightSvg = page.locator('.header-right > .tiny-svg')
1212
const mode = page.locator('label').nth(2)
1313
const modalVal = page.getByText('模式切换事件:schedule')
14-
const date = page.getByText('30周一')
14+
const date = page.getByText('30周一')
1515
const dateVal = page.locator('div').filter({ hasText: '点击日期: 2022-5-30;日程事件:[]' }).nth(1)
1616

1717
await timeBtn.click()

0 commit comments

Comments
 (0)