Skip to content

Commit 4471222

Browse files
author
Gideon
committed
FIX: Fix playwright config issue. Has to have one worker or it seems to have inconsistent results.
1 parent c5758d3 commit 4471222

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/playwright.config.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ module.exports = defineConfig({
55
testDir: './tests/e2e',
66
fullyParallel: true,
77
forbidOnly: !!process.env.CI,
8-
retries: process.env.CI ? 2 : 0,
9-
workers: process.env.CI ? 1 : undefined,
8+
retries: process.env.CI ? 1 : 0,
9+
workers: process.env.CI ? 1 : 1,
1010
reporter: 'html',
1111

1212
projects: [
@@ -22,14 +22,14 @@ module.exports = defineConfig({
2222
name: 'webkit',
2323
use: {...devices['Desktop Safari']},
2424
},
25-
// {
26-
// name: 'Mobile Chrome',
27-
// use: {...devices['Pixel 5']},
28-
// },
29-
// {
30-
// name: 'Mobile Safari',
31-
// use: {...devices['iPhone 12']},
32-
// },
25+
{
26+
name: 'Mobile Chrome',
27+
use: {...devices['Pixel 5']},
28+
},
29+
{
30+
name: 'Mobile Safari',
31+
use: {...devices['iPhone 12']},
32+
},
3333
],
3434

3535
webServer: {

0 commit comments

Comments
 (0)