Skip to content

Commit 11872c9

Browse files
committed
fix(workflow): enable video recording and screenshot capture on test failure
1 parent 73439ac commit 11872c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/playwright.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ export default defineConfig({
2525
use: {
2626
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
2727
trace: 'on-first-retry',
28+
video: 'retain-on-failure',
29+
screenshot: 'on'
2830
},
2931

3032
/* Configure projects for major browsers */

0 commit comments

Comments
 (0)