Skip to content

Commit 83404a4

Browse files
committed
resolve test issues
1 parent 2f55a9f commit 83404a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎e2e/react-start/basic-spa/tests/navigation.spec.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ test.use({
1010

1111
test('Navigating to post', async ({ page }) => {
1212
await page.goto('/')
13-
await page.waitForURL('/')
13+
await page.waitForLoadState('networkidle')
1414

1515
await page.getByRole('link', { name: 'Posts' }).click()
16-
await page.waitForURL('/posts')
16+
await page.waitForLoadState('networkidle')
1717
await page.getByRole('link', { name: 'sunt aut facere repe' }).click()
1818
await page.waitForLoadState('networkidle')
1919
await page.getByRole('link', { name: 'Deep View' }).click()

0 commit comments

Comments
 (0)