Free mobile confidence (no paid device cloud):
# Full desktop suite
pnpm integtest:desktop
# Mobile smoke suite using Playwright's Pixel 5 emulation
pnpm integtest:mobileCI runs both suites and uploads Playwright artifacts (test-results,
playwright-report) automatically when a test fails.
Recording tests (codegen):
pnpm dev --host
pnpm pw:codegenRunning tests with video capture:
pnpm integtest:videoOptimizing recorded videos for embedding:
pnpm optimize:videosNotes:
- Optimized videos are written to
public/tutorials/so Vite serves them as static assets. - You can tweak encoding with env vars:
PW_VIDEO_WIDTH,PW_VIDEO_CRF,PW_VIDEO_AUDIO_BITRATE.
Run Lighthouse CI locally (report-only):
pnpm build
pnpm lhci:ciNotes:
- The run audits all route pages under
/planit/, including deep links used by the app. - Results are written to
.lighthouseci/. - GitHub Actions uploads
.lighthouseci/as workflow artifacts in both CI and Pages workflows.