🔧 (playwright.config.ts): reduce workers to 1 for CI to avoid resource contention

This commit is contained in:
cristhianzl 2024-06-05 10:56:47 -03:00
commit 6096c8b73f

View file

@ -21,7 +21,7 @@ export default defineConfig({
/* Retry on CI only */ /* Retry on CI only */
retries: process.env.CI ? 2 : 0, retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */ /* Opt out of parallel tests on CI. */
workers: 5, workers: 1,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */ /* Reporter to use. See https://playwright.dev/docs/test-reporters */
timeout: 120 * 1000, timeout: 120 * 1000,
// reporter: [ // reporter: [