Skip to content

Commit 3b143f5

Browse files
committed
debugging
1 parent 0ff232c commit 3b143f5

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ jobs:
7171
name: playwright-report-pages
7272
path: special-pages/playwright-report
7373
retention-days: 5
74+
- uses: actions/upload-artifact@v4
75+
if: always()
76+
with:
77+
name: playwright-report-injected
78+
path: injected/playwright-report
79+
retention-days: 5
7480
- name: Build docs
7581
run: npm run docs
7682

injected/playwright.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default defineConfig({
9090
retries: process.env.CI ? 2 : 0,
9191
/* Opt out of parallel tests on CI. */
9292
workers: process.env.CI ? 1 : undefined,
93-
reporter: process.env.CI ? 'github' : [['html', { open: 'never' }]],
93+
reporter: 'html',
9494
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
9595
webServer: {
9696
reuseExistingServer: true,
@@ -105,5 +105,6 @@ export default defineConfig({
105105
baseURL: 'http://localhost:3220/',
106106
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
107107
trace: 'on-first-retry',
108+
video: { mode: 'on-first-retry' },
108109
},
109110
});

0 commit comments

Comments
 (0)