test: add MVP QA gate #21

Merged
vince merged 2 commits from codex/issue-10-mvp-qa-gate into main 2026-06-18 19:55:13 +02:00
Owner

Summary

Adds the MVP release QA gate for the model-driven dashboard.

Why

The MVP now has a real SvelteKit dashboard, persistence, Storybook, seed data, and renderer. This PR adds a single release command and browser checks so regressions in rendering, accessibility, focus, reduced motion, and content boundaries are caught before review.

Changes

  • Add Playwright desktop/mobile smoke tests for the real dashboard route.
  • Add axe accessibility, keyboard focus, reduced-motion, landmark, and screenshot sanity checks.
  • Add presentation-boundary tests that block Dimension Lab content from reusable UI and route implementation.
  • Add deterministic MSW external API mocks for deferred datasource adapters.
  • Add test:unit, test:e2e, and test:qa scripts.
  • Label module card landmarks to satisfy accessibility checks.
  • Document QA and Bun/SQLite deployment notes.

Testing

  • bun run test:qa
  • bunx playwright install chromium was run once locally to install the browser payload.

Notes

  • Live datasource adapters remain out of scope for the MVP and are still deferred to #8.
  • Playwright uses DATABASE_URL=file:./data/playwright.sqlite; SQLite files remain ignored.
## Summary Adds the MVP release QA gate for the model-driven dashboard. ## Why The MVP now has a real SvelteKit dashboard, persistence, Storybook, seed data, and renderer. This PR adds a single release command and browser checks so regressions in rendering, accessibility, focus, reduced motion, and content boundaries are caught before review. ## Changes - Add Playwright desktop/mobile smoke tests for the real dashboard route. - Add axe accessibility, keyboard focus, reduced-motion, landmark, and screenshot sanity checks. - Add presentation-boundary tests that block Dimension Lab content from reusable UI and route implementation. - Add deterministic MSW external API mocks for deferred datasource adapters. - Add `test:unit`, `test:e2e`, and `test:qa` scripts. - Label module card landmarks to satisfy accessibility checks. - Document QA and Bun/SQLite deployment notes. ## Testing - `bun run test:qa` - `bunx playwright install chromium` was run once locally to install the browser payload. ## Notes - Live datasource adapters remain out of scope for the MVP and are still deferred to #8. - Playwright uses `DATABASE_URL=file:./data/playwright.sqlite`; SQLite files remain ignored.
vince added 1 commit 2026-06-18 19:41:42 +02:00
vince added 1 commit 2026-06-18 19:50:35 +02:00
vince merged commit 975e17cd02 into main 2026-06-18 19:55:13 +02:00
Sign in to join this conversation.
No description provided.