Skip to content

Commit ea62165

Browse files
committed
chore: fix flaky test
1 parent f3d7a3a commit ea62165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit/test/apps/basics/test/client.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ test.describe('untrack', () => {
10251025
expect(await page.textContent('p.url')).toBe('/untrack/universal/1');
10261026
const id = await page.textContent('p.id');
10271027
await page.click('a[href="/untrack/universal/2"]');
1028-
expect(await page.textContent('p.url')).toBe('/untrack/universal/2');
1028+
await expect(page.locator('p.url')).toHaveText('/untrack/universal/2');
10291029
expect(await page.textContent('p.id')).toBe(id);
10301030
});
10311031
});

0 commit comments

Comments
 (0)