diff --git a/playwright-ct.config.ts b/playwright-ct.config.ts index 3ca605249d..eeb35835bf 100644 --- a/playwright-ct.config.ts +++ b/playwright-ct.config.ts @@ -26,8 +26,10 @@ const config: PlaywrightTestConfig = defineConfig({ /* Retry on CI only */ retries: process.env.CI ? 2 : 0, - /* Opt out of parallel tests on CI. */ - workers: process.env.CI ? 1 : undefined, + /* Opt out of parallel tests. */ + // on non-performant local machines some tests may fail due to lack of resources + // so we opt out of parallel tests in any environment + workers: 1, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: 'html',