diff --git a/core/http/react-ui/e2e/chrome-audit.spec.js b/core/http/react-ui/e2e/chrome-audit.spec.js index bc1827464..728701003 100644 --- a/core/http/react-ui/e2e/chrome-audit.spec.js +++ b/core/http/react-ui/e2e/chrome-audit.spec.js @@ -14,6 +14,16 @@ const ROUTES = [ ] test('no page renders a dead icon or a default-chrome control', async ({ page }) => { + // One test walks every route, so its budget has to scale with the list rather + // than sit on Playwright's per-test default of 30s. At 25 routes that default + // allows ~1.2s per navigation, which holds on a developer machine and does + // not on a loaded CI runner: the suite went red on the commit that added this + // spec, timing out mid-loop at waitForTimeout rather than at any single goto, + // which is what cumulative slowness looks like as opposed to one hung route. + // Six seconds a route absorbs a slow runner and still fails promptly if a + // route really does hang. + test.setTimeout(ROUTES.length * 6_000) + const findings = [] for (const route of ROUTES) { await page.goto(route)