Skip to content

Commit

Permalink
chore: fix flaky test (#12487)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Jul 22, 2024
1 parent f3d7a3a commit 07a9026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kit/test/apps/basics/test/client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1020,11 +1020,11 @@ test.describe('untrack', () => {
expect(await page.textContent('p.id')).toBe(id);
});

test('untracks universal load function', async ({ page }) => {
test('untracks universal load function', async ({ page, clicknav }) => {
await page.goto('/untrack/universal/1');
expect(await page.textContent('p.url')).toBe('/untrack/universal/1');
const id = await page.textContent('p.id');
await page.click('a[href="/untrack/universal/2"]');
await clicknav('a[href="/untrack/universal/2"]');
expect(await page.textContent('p.url')).toBe('/untrack/universal/2');
expect(await page.textContent('p.id')).toBe(id);
});
Expand Down

0 comments on commit 07a9026

Please sign in to comment.