Skip to content

Commit

Permalink
More config tweaks to pw
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed Jun 5, 2024
1 parent d1dd047 commit 12de6cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@ export default defineConfig({
workers: isCI ? 1 : undefined,

/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: isCI ? [['github'], ['html']] : [['list'], ['html']],
reporter: isCI ?
[['github'], ['html', {open: 'never'}]] :
[['list'], ['html', {open: 'never'}]],

/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: 'https://localhost:5500/cbor2/',

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
trace: 'retain-on-failure',
ignoreHTTPSErrors: true,
},

Expand Down

0 comments on commit 12de6cb

Please sign in to comment.