Skip to content

Commit e7c32ed

Browse files
authored
Merge pull request #132 from Steake/copilot/fix-playwright-output-folder-issue
fix(playwright): move HTML reporter output folder outside test-results dir
2 parents 49810ff + 7e591f2 commit e7c32ed

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ svelte-frontend/node_modules/.package-lock.json
154154
svelte-frontend/node_modules/.vite/deps/_metadata.json
155155
svelte-frontend/test-results/
156156
svelte-frontend/playwright-report/
157+
svelte-frontend/playwright-report-output/
157158
svelte-frontend/screenshots/
158159

159160
# Build artifacts

svelte-frontend/playwright.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ module.exports = defineConfig({
77
forbidOnly: !!process.env.CI,
88
retries: process.env.CI ? 2 : 1,
99
workers: process.env.CI ? 1 : 1,
10+
outputDir: './test-results',
1011
reporter: [
11-
['html', { outputFolder: './test-results/playwright-report' }],
12+
['html', { outputFolder: './playwright-report-output' }],
1213
['json', { outputFile: './test-results/test-results.json' }],
1314
['list']
1415
],

0 commit comments

Comments
 (0)