Skip to content

System

Testing and demo video

Vitest, optional Playwright smoke, and product demo recording.

Testing and demo video

Default: npm test (from veyra/) runs Vitest only — fast, no browser.

Full check: npm run test:all runs unit tests, then Playwright in the chromium project (light route smokes in e2e/smoke.spec.ts and e2e/studio-routes.spec.ts).

Product demo: npm run demo:record is the main reason Playwright is in the repo: one scripted take that writes video.webm under test-results/ (see e2e/README.md). It does not run as part of npm test.

The Code Dashboard’s last-run cards use vitest-results.json and test-results/results.json from those commands when you run them locally; the demo recorder is not tied to the dashboard.