Skip to content

Commit

Permalink
馃敡 playwright: save screenshot on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Mar 20, 2024
1 parent c776b16 commit eddba3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const config: PlaywrightTestConfig = {
headless: true,
actionTimeout: 0,
baseURL: 'http://localhost:3000',
screenshot: 'only-on-failure',
trace: 'on-first-retry',
},
projects: [
Expand Down

0 comments on commit eddba3a

Please sign in to comment.