Skip to content

Commit

Permalink
Update flakey prerender fallback test
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Apr 2, 2024
1 parent 17907b4 commit e6ff29f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/prerender.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,9 @@ describe('Prerender', () => {
})

it('should handle fallback only page correctly HTML', async () => {
const browser = await webdriver(next.url, '/fallback-only/first%2Fpost')
const browser = await webdriver(next.url, '/fallback-only/first%2Fpost', {
waitHydration: false,
})

const text = await browser.elementByCss('p').text()
expect(text).toContain('hi fallback')
Expand Down

0 comments on commit e6ff29f

Please sign in to comment.