mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-26 15:16:14 +00:00
Add screenshot tests
This commit is contained in:
7
.github/workflows/node.js.yml
vendored
7
.github/workflows/node.js.yml
vendored
@@ -55,8 +55,15 @@ jobs:
|
||||
run: npx playwright install chromium
|
||||
|
||||
- name: Run E2E Tests
|
||||
env:
|
||||
PLAYWRIGHT_HTML_REPORT: playwright-report/e2e
|
||||
run: npm run test:e2e
|
||||
|
||||
- name: Run Visual Tests
|
||||
env:
|
||||
PLAYWRIGHT_HTML_REPORT: playwright-report/visual
|
||||
run: npm run test:visual
|
||||
|
||||
- name: Upload Playwright report
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user