Skip to content

Commit 68f1db2

Browse files
committed
fix(calendar-view): [calendar-view] Fix bug
1 parent 6abbcdf commit 68f1db2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { test, expect } from '@playwright/test'
33
test('日期禁用', async ({ page }) => {
44
page.on('pageerror', (exception) => expect(exception).toBeNull())
55
await page.goto('calendar-view#calendar-disabled-day')
6-
const day10 = page.getByText('10').nth(3)
6+
const day10 = page.getByText('10').nth(1)
77
const day14 = page.getByText('14').nth(1)
8-
const day15 = page.getByText('15').nth(1)
8+
const day15 = page.getByText('15').nth(2)
99
await expect(day10).toHaveClass(/is-disabled/)
1010
await expect(day14).toHaveClass(/is-disabled/)
1111
await expect(day15).toHaveClass('date')

0 commit comments

Comments
 (0)