chore(e2e): update retries in defineConfig

This commit is contained in:
Zeke Zhang 2024-03-26 11:37:13 +08:00
parent 080e491a0d
commit b690a3afd1

View File

@ -21,7 +21,7 @@ export const defineConfig = (config?: PlaywrightTestConfig) => {
forbidOnly: !!process.env.CI, forbidOnly: !!process.env.CI,
// Retry on CI only. // Retry on CI only.
retries: process.env.CI ? 2 : 0, retries: 2,
// Opt out of parallel tests on CI. // Opt out of parallel tests on CI.
// workers: process.env.CI ? 1 : undefined, // workers: process.env.CI ? 1 : undefined,