mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-16 23:45:50 +00:00
Time out end-to-end tests preemptively in CI so we always get a report
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user