Skip to content

Commit b821b0e

Browse files
committed
test(pager): [pager] fix pager demo e2e test
1 parent 35414f8 commit b821b0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sites/demos/pc/app/pager/before-page-change.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test('分页变更前置处理', async ({ page }) => {
2828
await expect(tipModal).toBeVisible()
2929
await confirmBtn.click()
3030
await expect(tipModal).not.toBeVisible()
31-
await pager.locator('.tiny-pager__goto input').fill('100')
31+
await pager.locator('.tiny-pager__goto input').fill('2')
3232
await page.waitForTimeout(200)
3333
await pager.locator('.tiny-pager__goto input').press('Enter')
3434
await expect(tipModal).toBeVisible()

0 commit comments

Comments
 (0)