Commit e5224836 authored by tom's avatar tom

[skip ci] out out parallel tests in local env

parent 74561d60
...@@ -26,8 +26,10 @@ const config: PlaywrightTestConfig = defineConfig({ ...@@ -26,8 +26,10 @@ const config: PlaywrightTestConfig = 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. */
workers: process.env.CI ? 1 : undefined, // 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 to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html', reporter: 'html',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment