Skip to content

Commit

Permalink
test(integration): add extra diagnostics
Browse files Browse the repository at this point in the history
Configures Playwright to record browser traces and a video, which can help provide more context as
to why a test has failed.

Refs #388
  • Loading branch information
thewilkybarkid committed Aug 6, 2021
1 parent 37a43dc commit df149a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const config: PlaywrightTestConfig = {
baseURL: 'http://prereview:3000',
headless: true,
screenshot: 'only-on-failure',
trace: 'retain-on-failure',
video: 'retain-on-failure',
},
retries: 3,
projects: [
Expand Down

0 comments on commit df149a9

Please sign in to comment.