Skip to content

Commit 5f29972

Browse files
committed
Wait for networkidle to reduce test flakiness
1 parent 66feb63 commit 5f29972

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/test-apps/simple-react/test/switching-contexts.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ describe('navigation details', () => {
88
page = await newTestPage()
99
await page.goto(`${rootURL}`)
1010
await reactReady(page)
11+
await page.waitForLoadState('networkidle')
1112
})
1213

1314
test('navigating between pages of the same context doesnt trigger a server side render request', async () => {

0 commit comments

Comments
 (0)