feat(08-03): add Playwright install + harness run (both profiles) + artifact upload
- npx playwright install --with-deps webkit chromium from apps/pwa/ (D-PROBE-05) - pnpm test:e2e -- --reporter=list,html overrides github reporter (Pitfall 5; Gitea ignores annotations) - Both iphone (WebKit) + pixel (Chromium) profiles run (D-05; no --project filter) - Step env: CI=true, PLAYWRIGHT_BASE_URL=http://localhost:5173, DEV_AUTH_BYPASS=true, NODE_ENV=development, DB_* - On failure: upload apps/pwa/test-results/ via ChristopherHX/gitea-upload-artifact@v4 (D-06/D-PROBE-06) - Always: kill API background process via /tmp/api.pid - No edits to playwright.config.ts / global-setup.ts / vite.config.ts / specs (phase boundary)
This commit is contained in:
@@ -265,8 +265,8 @@ jobs:
|
||||
DB_NAME: familysync
|
||||
|
||||
# Upload traces/screenshots/videos on failure for debugging (D-06).
|
||||
# MUST use ChristopherHX/gitea-upload-artifact@v4 — actions/upload-artifact@v4 detects
|
||||
# Gitea as GHES and aborts (Pitfall 6 / D-PROBE-06).
|
||||
# MUST use ChristopherHX/gitea-upload-artifact@v4 — the standard upload-artifact action
|
||||
# detects Gitea as GHES and aborts (Pitfall 6 / D-PROBE-06).
|
||||
- name: Upload Playwright test artifacts
|
||||
if: failure()
|
||||
uses: https://github.com/ChristopherHX/gitea-upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user