Unverified Commit f57b8d2a authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

fix test/integration/app-document-remove-hmr flake (#29486)

parent 88e15a5b
......@@ -48,7 +48,7 @@ describe('_app removal HMR', () => {
await check(async () => {
const html = await browser.eval('document.documentElement.innerHTML')
return html.indexOf('index page updated') &&
return html.includes('index page updated') &&
!html.includes('custom _app')
? 'success'
: html
......@@ -100,7 +100,7 @@ describe('_app removal HMR', () => {
await check(async () => {
const html = await browser.eval('document.documentElement.innerHTML')
return html.indexOf('index page updated') &&
return html.includes('index page updated') &&
!html.includes('custom _document')
? 'success'
: html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment