diff --git a/playwright.config.ts b/playwright.config.ts index 2ae17d1..cf8a29d 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -11,9 +11,9 @@ export default defineConfig({ // 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 ? 2 : 0, - // Always run with 1 worker to avoid database conflicts - workers: 1, + retries: process.env.CI ? 1 : 0, + // Use 2 workers in CI for parallel project execution; 1 locally + workers: process.env.CI ? 2 : 1, // Reporter to use reporter: 'html', // Global setup and teardown