Skip to content

Commit f899de1

Browse files
committed
chore(): update ci
1 parent 10ebc02 commit f899de1

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.github/workflows/e2e-pull_request.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
working-directory: './demo'
3030

3131
- 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
3333
working-directory: ./demo
3434

3535
- name: Upload test results
@@ -52,4 +52,6 @@ jobs:
5252
uses: daun/playwright-report-comment@v3
5353
if: always()
5454
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`.'

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,3 @@ npm run test:e2e:debug
234234
# Update baseline screenshots (when intentionally changing UI)
235235
npm run test:e2e:update
236236
```
237-
238-
#### Test Coverage
239-
240-
- 26 routes × 2 modes (light/dark) = 52 screenshot tests
241-
- Chromium browser (iOS display optimized)
242-
- Full-page screenshots for comprehensive visual testing
243-
244-
Test results and reports are available in the `playwright-report/` directory.
245-

0 commit comments

Comments
 (0)