Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Dec 20, 2023
1 parent 13931e1 commit dea1f76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/app-dir/rsc-basic/rsc-basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,9 @@ createNextDescribe(
)

const browser = await next.browser('/app-react')
const markupContentInBrowser = browser.elementByCss('#markup').text()
const markupContentInBrowser = await browser
.elementByCss('#markup')
.text()
expect(markupContentInBrowser).toBe(
'<div class="react-static-markup">React Static Markup</div>'
)
Expand Down

0 comments on commit dea1f76

Please sign in to comment.