Commit 88c4ca49 authored by Tobias Koppers's avatar Tobias Koppers

fix(test): increase timeout for hard navigate pages->app to avoid dev compilation flakiness

The first load of an App Router page in dev mode triggers on-demand compilation,
which can exceed the default 10s Playwright timeout on slow CI runners.
Confirmed flaky across multiple unrelated branches (update/react and optimized_change_tracking).
Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
parent df88058f
......@@ -13,7 +13,9 @@ describe('app dir - basepath', () => {
it('should successfully hard navigate from pages -> app', async () => {
const browser = await next.browser('/base/pages-path')
await browser.elementByCss('#to-another').click()
await browser.waitForElementByCss('#page-2')
// First load of an App Router page in dev mode triggers on-demand compilation.
// Give it extra time so slow CI runners don't hit the 10s default timeout.
await browser.waitForElementByCss('#page-2', 30000)
})
it('should support `basePath`', 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