Skip to content

Add perf benchmarking, a11y testing, snapshot testing, test data factories - #959

Merged
Kingsman-99 merged 4 commits into
Stellar-split:mainfrom
chriz-cloud:fix/issues-904-907
Oct 20, 2026
Merged

Kingsman-99 merged 4 commits into
Stellar-split:mainfrom
chriz-cloud:fix/issues-904-907

Conversation

@chriz-cloud

Copy link
Copy Markdown
Contributor

Closes #904
Closes #905
Closes #906
Closes #907

Summary

  • Implement performance benchmarking and monitoring #904 Performance benchmarking and monitoring: Core Web Vitals (LCP, CLS, INP, FCP, TTFB) collection via src/lib/performanceMonitoring.ts, wired into instrumentation-client.ts, reported to Sentry as measurements with budget-regression warnings, plus a Lighthouse CI workflow (.github/workflows/performance.yml, lighthouserc.json) enforcing lab performance budgets on every PR. See docs/PERFORMANCE.md.
  • Add accessibility testing with automated tools and manual review #905 Accessibility testing: the repo already had a solid Playwright + axe-core page-level WCAG gate (e2e/a11y.spec.ts, .github/workflows/accessibility.yml). Added component-level axe-core unit tests (src/__tests__/a11y/componentA11y.test.tsx) for shared components, and documented the manual screen-reader/keyboard/contrast review process in docs/ACCESSIBILITY.md.
  • Implement snapshot testing for component rendering #906 Snapshot testing: Vitest snapshot tests for StatusBadge and Skeleton/SkeletonCard (src/__tests__/snapshots/), a new unit-tests.yml CI workflow running vitest run --ci, and docs/SNAPSHOT_TESTING.md covering the review process and how to avoid snapshot sprawl. Note: .snap baseline files will be generated on first CI/local run and should be committed in a follow-up once reviewed.
  • Add test data factories and fixtures for consistent testing #907 Test data factories: src/test/factories/ with buildInvoice, buildPayment, buildUser factory functions (override support, list builders, lifecycle fixtures), sequence-reset helpers to avoid cross-test pollution, tests proving the factories, and a README documenting the pattern and design tradeoffs.

Collects Core Web Vitals (LCP, CLS, INP, FCP, TTFB) via PerformanceObserver,
reports them to Sentry as measurements, flags budget regressions, and adds
a Lighthouse CI workflow/config enforcing lab performance budgets on every PR.
…plit#905)

Adds axe-core unit tests for shared components (StatusBadge, Skeleton) to
complement the existing Playwright page-level WCAG gate, and documents the
manual screen-reader/keyboard/contrast review process and findings workflow.
Adds Vitest snapshot tests for StatusBadge and Skeleton/SkeletonCard, a
unit-tests CI workflow running vitest --ci, and docs covering the
snapshot review process and how to avoid snapshot sprawl.
…split#907)

Adds reusable factory functions (buildInvoice/buildPayment/buildUser) with
sequence-based unique ids, override support, list builders, and lifecycle
fixtures, plus tests proving the factories and documentation of the pattern.
@vercel

vercel Bot commented Oct 18, 2026

Copy link
Copy Markdown

@luhrhenz is attempting to deploy a commit to the kingsman-99's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Oct 18, 2026

Copy link
Copy Markdown

@chriz-cloud Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Kingsman-99
Kingsman-99 merged commit 5de056a into Stellar-split:main Oct 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants