We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec4786e commit c044032Copy full SHA for c044032
packages/kit/test/apps/basics/test/client.test.js
@@ -1641,6 +1641,6 @@ test.describe('routing', () => {
1641
await page.click('a[href="/routing"]');
1642
1643
await expect(page.locator('h1')).toHaveText('Great success!');
1644
- expect(new URL(page.url()).pathname).toBe('/routing');
+ await expect(page).toHaveURL((url) => url.pathname === '/routing');
1645
});
1646
0 commit comments