Skip to content

Commit

Permalink
Add Playwright test reporter and artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
irsooti committed Jan 30, 2024
1 parent 9cb14bd commit 9f9f91d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@ jobs:
run: pnpm run build

- name: Run Playwright tests
run: pnpm exec playwright test
run: pnpm exec playwright test --reporter json

- uses: daun/playwright-report-summary@v3
with:
report-file: results.json

- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
retention-days: 30

0 comments on commit 9f9f91d

Please sign in to comment.