Add visual QA, accessibility, and release checks #10

Closed
opened 2026-06-18 16:13:07 +02:00 by vince · 1 comment
Owner

Parent: #1

Design reference

System overview dashboard reference

Goal

Create the quality gate for shipping the dashboard as a real product page, including visual regression against the reference direction, accessibility, and production readiness.

Scope

  • Add vitest unit tests for schemas, validation, model helpers, datasource normalization, and persistence helpers.
  • Add Playwright-based smoke tests for desktop and mobile dashboard rendering.
  • Add Playwright screenshot capture/regression checks for the main one-page dashboard states.
  • Add accessibility checks for keyboard navigation, focus visibility, contrast, landmark structure, and reduced motion.
  • Use msw to mock external APIs in tests and previews.
  • Add tests that assert presentation code remains free of Dimension Lab-specific content.
  • Add build/check/test commands suitable for CI.
  • Add production deployment notes for the initial self-hosted/container path.

Acceptance criteria

  • Automated checks cover desktop and mobile viewport rendering.
  • Keyboard navigation reaches interactive service links and controls in a logical order.
  • Reduced-motion preference is respected.
  • Tests fail if content strings leak into the presentation tier.
  • CI-ready commands are documented and pass locally.
  • External API behavior can be tested without live Prometheus/status/weather services.

Out of scope

  • Full hosted demo environment.
  • Browser-based visual editor.
  • Performance budget beyond basic first-pass checks.
Parent: #1 ## Design reference ![System overview dashboard reference](https://git.dimensionlab.net/attachments/39e9396a-a4cc-4110-aadd-633bda94cd03) ## Goal Create the quality gate for shipping the dashboard as a real product page, including visual regression against the reference direction, accessibility, and production readiness. ## Scope - Add `vitest` unit tests for schemas, validation, model helpers, datasource normalization, and persistence helpers. - Add Playwright-based smoke tests for desktop and mobile dashboard rendering. - Add Playwright screenshot capture/regression checks for the main one-page dashboard states. - Add accessibility checks for keyboard navigation, focus visibility, contrast, landmark structure, and reduced motion. - Use `msw` to mock external APIs in tests and previews. - Add tests that assert presentation code remains free of Dimension Lab-specific content. - Add build/check/test commands suitable for CI. - Add production deployment notes for the initial self-hosted/container path. ## Acceptance criteria - Automated checks cover desktop and mobile viewport rendering. - Keyboard navigation reaches interactive service links and controls in a logical order. - Reduced-motion preference is respected. - Tests fail if content strings leak into the presentation tier. - CI-ready commands are documented and pass locally. - External API behavior can be tested without live Prometheus/status/weather services. ## Out of scope - Full hosted demo environment. - Browser-based visual editor. - Performance budget beyond basic first-pass checks.
vince added the
frontend
quality
labels 2026-06-18 16:13:07 +02:00
Author
Owner

Completed by PR #21.

Implemented the MVP QA gate with:

  • built-adapter Playwright e2e checks on desktop and mobile
  • committed screenshot baselines
  • axe, landmark, focus order, and reduced-motion checks
  • presentation content-boundary tests
  • deterministic MSW datasource mocks wired into tests and Storybook
  • CI-ready bun run test:qa documentation

Verified with bun run test:qa; delta review reported no remaining issues.

Completed by PR #21. Implemented the MVP QA gate with: - built-adapter Playwright e2e checks on desktop and mobile - committed screenshot baselines - axe, landmark, focus order, and reduced-motion checks - presentation content-boundary tests - deterministic MSW datasource mocks wired into tests and Storybook - CI-ready `bun run test:qa` documentation Verified with `bun run test:qa`; delta review reported no remaining issues.
vince closed this issue 2026-06-18 19:55:39 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: vince/dimensionlab-website#10
No description provided.