Skip to content

Commit

Permalink
feat: update playwright config
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdikhashan committed Jul 19, 2024
1 parent f710750 commit 5cd5658
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions playwright.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
"use strict";

module.exports = {
globalSetup: require.resolve("./scripts/setupPlaywright.js"),
testIgnore: "**/*.ignore.*",
testDir: "./test/e2e",
outputDir: ".test/spec/output",
snapshotPathTemplate:
".test/spec/snaps/{projectName}/{testFilePath}/{arg}{ext}",
fullyParallel: false,
forbidOnly: process.env.CI !== "true",
forbidOnly: !!process.env.CI,
// TODO: can help with flakiness, make sure it works on CI
retries: process.env.CI ? 2 : 0,
workers: 1,
reporter: process.env.CI ? "github" : "list",
Expand Down

0 comments on commit 5cd5658

Please sign in to comment.