Unverified Commit 55d8a14e authored by JJ Kasper's avatar JJ Kasper Committed by GitHub
parent 4d4f3093
......@@ -298,7 +298,12 @@ async function runBasicTests(context, env) {
await browser.elementByCss('#next_id').click()
await browser.elementByCss('#next_id').click()
await check(() => browser.waitForElementByCss('#query').text(), /query:2/)
expect(await browser.eval('window.beforeNav')).toBe(1)
if (!isDev) {
// this might do a hard navigation in development
// so only require this check in production
expect(await browser.eval('window.beforeNav')).toBe(1)
}
})
it('should suspense next/image on server side', async () => {
......
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