Skip to content

Commit b30e4c2

Browse files
authored
fix; try test twice in production as workaround
1 parent 6c74875 commit b30e4c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

playwright.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ const { devices } = require('@playwright/test');
22

33
const config = {
44
forbidOnly: !!process.env.CI,
5-
retries: process.env.CI ? 0 : 0,
5+
retries: process.env.CI ? 2 : 0,
66
reporter: process.env.CI ? 'dot' : 'list',
7-
maxFailures: process.env.CI ? 2 : 0,
87
snapshotDir: 'test/snapshots',
98
use: {
109
baseURL: process.env.BASE_URL || 'http://localhost:9000',

0 commit comments

Comments
 (0)