You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/e2e-pull_request.yml
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ jobs:
29
29
working-directory: './demo'
30
30
31
31
- name: Run Playwright tests
32
-
run: npm run test:e2e
32
+
run: PLAYWRIGHT_JSON_OUTPUT_NAME=e2e/screenshot.spec.ts.json npm run test:e2e -- --reporter=json
33
33
working-directory: ./demo
34
34
35
35
- name: Upload test results
@@ -52,4 +52,6 @@ jobs:
52
52
uses: daun/playwright-report-comment@v3
53
53
if: always()
54
54
with:
55
-
report-path: demo/playwright-report/
55
+
report-file: demo/e2e/screenshot.spec.ts.json
56
+
job-summary: true
57
+
custom-info: 'Please check the [workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details. And if you want to update the screenshots, please comment with `/update-screenshots`.'
0 commit comments