Decreased retry count (#16554)

This commit is contained in:
Andreas Zerbst
2024-06-04 14:25:57 +02:00
committed by GitHub
parent 46e99910e7
commit ae7db56f77

View File

@@ -21,7 +21,7 @@ const config: PlaywrightTestConfig = {
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 5 : 2,
retries: process.env.CI ? 2 : 1,
// We don't want to run parallel, as tests might differ in state
workers: 1,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */