Skip to content

Commit 02d4a7e

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,11 +1020,11 @@ test.describe('untrack', () => {
10201020
expect(await page.textContent('p.id')).toBe(id);
10211021
});
10221022

1023-
test('untracks universal load function', async ({ page }) => {
1023+
test('untracks universal load function', async ({ page, clicknav }) => {
10241024
await page.goto('/untrack/universal/1');
10251025
expect(await page.textContent('p.url')).toBe('/untrack/universal/1');
10261026
const id = await page.textContent('p.id');
1027-
await page.click('a[href="/untrack/universal/2"]');
1027+
await clicknav('a[href="/untrack/universal/2"]');
10281028
expect(await page.textContent('p.url')).toBe('/untrack/universal/2');
10291029
expect(await page.textContent('p.id')).toBe(id);
10301030
});

0 commit comments

Comments
 (0)