[skip ci] out out parallel tests in local env

This commit is contained in:
tom
2024-02-19 11:20:48 +04:00
parent 797b8f57bb
commit 8480df6b1d
+4 -2
View File
@@ -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',