Remove stray pause and improve logging for hung e2e tests

The list reporter is the only progress a hung CI run leaves behind, and a
global timeout under the job's 60 minute limit means a hung run still ends
with a report instead of being cancelled by GitHub.
This commit is contained in:
Johannes Marbach
2026-10-12 10:03:03 +02:00
parent 32fcede65e
commit 7ac5373af9
2 changed files with 4 additions and 5 deletions
+4 -1
View File
@@ -39,7 +39,10 @@ export default defineConfig({
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
// The list reporter is the only progress a hung CI run leaves behind.
reporter: process.env.CI ? [["list"], ["html"]] : "html",
// Under the job's 60 minute limit, so a hung run still ends with a report.
globalTimeout: process.env.CI ? 50 * 60 * 1000 : undefined,
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */