Tag: Testing
4 posts
Posts

Test the tokens you demo, not just the ones you ship
A jest test guarded WCAG contrast on my shipped theme. Storybook rendered a second stylesheet it never parsed, and the demo had drifted to 4.53:1.

The Parity Harness That Caught a Silently Broken Service
I wrote a parity harness to de-risk a Node to Python scan service port. It caught the existing Node service silently returning perf=0 on every URL.

A (public) Route Group So Admin Pages Render Bare
Lifting Nav and Footer into a Next.js route group so every /tools/admin route inherits none of the public chrome, and the one broken 404 that followed.

Mobile Nav Accessibility: The Bottom Sheet Dialog Pattern
A nav redesign passes code review but fails E2E tests on mobile. Here's what axe caught and how aria-hidden, inert, and proper dialog semantics fixed it.