Skip to content

Conversation

@pieer
Copy link
Collaborator

@pieer pieer commented Dec 23, 2025

Add Playwright artifacts (screenshots/videos/report) to the workflow (follow docs), e.g.:
- uses: actions/upload-artifact@v5
if: ${{ !cancelled() }}
with:
name: playwright-report
path: tests/e2e/test-artifacts/
retention-days: 30
Enable videos-on-failure in playwright.config.ts, and ensure the HTML report is produced on CI (currently CI uses reporter: 'list' only):
use: {
...
video: 'retain-on-failure',
...
},
reporter: [['list'], ['html', {outputFolder: 'tests/e2e/reports/', open: 'never'}]]
Ideally on every CI run (on failures) exposes a downloadable Playwright report + screenshots/videos, making it obvious tests ran and much easier to debug failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants