Skip to content

Commit

Permalink
Fix flaky rsc test (#38573)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jul 13, 2022
1 parent b251e55 commit 27a9e87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/app-dir/rsc-basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ describe('app dir - react server components', () => {
)

// Should end up with "next_streaming_data".
const browser = await webdriver(next.url, '/partial-hydration')
const browser = await webdriver(next.url, '/partial-hydration', {
waitHydration: false,
})
const content = await browser.eval(`window.document.body.innerText`)
expect(content).toContain('next_streaming_data')

Expand Down

0 comments on commit 27a9e87

Please sign in to comment.