mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-16 23:45:50 +00:00
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:
@@ -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('/')`. */
|
||||
|
||||
Reference in New Issue
Block a user