Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth committed Aug 31, 2024
1 parent a35de03 commit b91fa3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ export default defineConfig({
baseURL: "http://localhost:5173",

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry",
trace: process.env.CI ? "on" : "on-first-retry",
video: process.env.CI ? "on" : "off",
screenshot: process.env.CI ? "on" : "off",
},

/* Configure projects for major browsers */
Expand Down

0 comments on commit b91fa3c

Please sign in to comment.