Skip to content

Commit 3896d36

Browse files
committed
test(pager): [pager] fix pager e2e test error
1 parent 82f2309 commit 3896d36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/sites/demos/pc/app/pager/custom-total.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ test('自定义总条数', async ({ page }) => {
88
const pager = demo.locator('.tiny-pager')
99
const total = pager.locator('.tiny-pager__total')
1010

11-
await expect(total.first()).toHaveText('总条数:100万+')
12-
await expect(total.nth(1)).toHaveText('总条数:条数超出百万')
11+
await expect(total.first()).toHaveText('总条数: 100万+')
12+
await expect(total.nth(1)).toHaveText('总条数: 条数超出百万')
1313
})

0 commit comments

Comments
 (0)