Skip to content

Commit

Permalink
TEST-0001 Fix relative path for reporter output
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinther committed Jun 21, 2024
1 parent d3c8360 commit 932aedb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/playwright/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,14 @@ export default defineConfig({
],
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: process.env.CI
? [['dot'], ['json', { outputFile: 'playwright-report/test-results.json' }]]
? [
['dot'],
['json', { outputFile: './playwright-report/test-results.json' }],
]
: [
['list'],
['html'],
['json', { outputFile: 'playwright-report/test-results.json' }],
['json', { outputFile: './playwright-report/test-results.json' }],
],
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
Expand Down

0 comments on commit 932aedb

Please sign in to comment.