Skip to content

Commit 5cd5658

Browse files
committed
feat: update playwright config
1 parent f710750 commit 5cd5658

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

playwright.config.js

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

33
module.exports = {
4+
globalSetup: require.resolve("./scripts/setupPlaywright.js"),
45
testIgnore: "**/*.ignore.*",
56
testDir: "./test/e2e",
6-
outputDir: ".test/spec/output",
7-
snapshotPathTemplate:
8-
".test/spec/snaps/{projectName}/{testFilePath}/{arg}{ext}",
97
fullyParallel: false,
10-
forbidOnly: process.env.CI !== "true",
8+
forbidOnly: !!process.env.CI,
9+
// TODO: can help with flakiness, make sure it works on CI
1110
retries: process.env.CI ? 2 : 0,
1211
workers: 1,
1312
reporter: process.env.CI ? "github" : "list",

0 commit comments

Comments
 (0)