We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a434cf commit b24cac0Copy full SHA for b24cac0
playwright.config.js
@@ -1,17 +1,12 @@
1
"use strict";
2
3
-const CI = false;
4
-
5
module.exports = {
6
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
10
fullyParallel: false,
11
- forbidOnly: !!CI,
12
- retries: CI ? 2 : 0,
+ forbidOnly: process.env.CI !== "true",
+ retries: process.env.CI ? 2 : 0,
13
workers: 1,
14
- reporter: "html",
+ reporter: process.env.CI ? "github" : "list",
15
use: {
16
trace: "on-first-retry",
17
},
0 commit comments