Skip to content

Commit eb78708

Browse files
committed
Fix infinity test
1 parent 9ec2fc5 commit eb78708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test('depth=0', async ({ page }) => {
99
test('depth=infinity', async ({ page }) => {
1010
await page.goto('/')
1111
await page.locator('#btn_i').click()
12-
await expect(page.locator('#basic').getByText('{...}', { exact: true })).toHaveCount(0)
12+
await expect(page.getByText('nest0').locator('..').getByText('...')).toHaveCount(0)
1313
})
1414

1515
test('default depth=1', async ({ page }) => {

0 commit comments

Comments
 (0)