File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ export default defineConfig({
1919 /* Retry on CI only */
2020 retries : process . env . CI ? 2 : 0 ,
2121 /* Opt out of parallel tests. */
22- workers : process . env . CI ? 2 : 4 ,
22+ // workers: process.env.CI ? 2 : undefined,
23+ // workers: process.env.CI ? 2 : 1,
24+ workers : 1 ,
2325 /* Reporter to use. See https://playwright.dev/docs/test-reporters */
2426 reporter : 'html' ,
2527 /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
@@ -32,7 +34,7 @@ export default defineConfig({
3234 slowMo : parseInt ( process . env . SLOW_MO || '0' ) ,
3335 } ,
3436 } ,
35- timeout : 60000 ,
37+ timeout : process . env . CI ? 60000 : parseInt ( process . env . TIMEOUT || '15000' ) ,
3638
3739 /* Configure projects for major browsers */
3840 projects : process . env . CI
You can’t perform that action at this time.
0 commit comments