Time out end-to-end tests preemptively in CI so we always get a report

This commit is contained in:
Robin
2026-10-09 09:56:18 +02:00
parent f89cbc140e
commit 1666645d9e
+3
View File
@@ -36,6 +36,9 @@ export default defineConfig({
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
// Time out in CI after almost 1 hour, so that we're guaranteed to produce a
// report before GitHub cancels the runner
globalTimeout: process.env.CI ? 55 * 60 * 1000 : undefined,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */