Skip to content

Commit b24cac0

Browse files
committed
chore: update playwright config
1 parent 4a434cf commit b24cac0

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

playwright.config.js

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
"use strict";
22

3-
const CI = false;
4-
53
module.exports = {
64
testDir: "./test/e2e-playwright",
7-
// however this can have benefits, in tests I couldn't start a server on multiple ports
8-
// for tests "stats-refactored.test.js" the port is read from "ports-map.js" file somehow
9-
// I should manage to handle it if I want to run the tests in parallel mode
105
fullyParallel: false,
11-
forbidOnly: !!CI,
12-
retries: CI ? 2 : 0,
6+
forbidOnly: process.env.CI !== "true",
7+
retries: process.env.CI ? 2 : 0,
138
workers: 1,
14-
reporter: "html",
9+
reporter: process.env.CI ? "github" : "list",
1510
use: {
1611
trace: "on-first-retry",
1712
},

0 commit comments

Comments
 (0)