feat(08-03): add Playwright install + harness run (both profiles) + artifact upload
CI / fast-checks (pull_request) Successful in 48s
CI / api (pull_request) Successful in 56s
CI / harness (pull_request) Failing after 2m53s

- 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:
Lucas Berger
2026-06-11 14:45:52 -04:00
parent d55e347a09
commit 71c89093b1
+2 -2
View File
@@ -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