Skip to content

test(e2e): catch accessibility, overflow, and console regressions (ENG-160) - #117

Merged
odanieldcs merged 2 commits into
mainfrom
feature/eng-160
Oct 12, 2026
Merged

odanieldcs merged 2 commits into
mainfrom
feature/eng-160

Conversation

@odanieldcs

@odanieldcs odanieldcs commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Scan the guard routes with axe (WCAG A/AA, dark and light) and fail on any violation.
  • Run @mobile on Pixel 7 for the menu, the inert skip link, and horizontal overflow at 320px and 390px, including every post.
  • Fail the guard routes on console errors, page errors, and hydration warnings. WebKit runs only the @smoke tag (home, blog, one post, theme, language).

Local proof, restored before this commit: removing min-w-0 from the recent-writing li made / at 320px report scrollWidth 593 against clientWidth 320. Setting light --muted to #767676 (3.86:1 on #f2ebeb) made the /privacy light scan fail color-contrast with the rule, route, theme, and selector. The suite then passed three times with --retries=0 on one reused production server (273 passed in 28.1s, 25.5s, and 26.7s).

The e2e job on d145dde took 1m 37s. The budget is at most +3 min on this PR's e2e job, including install and build.

Test plan

  • Overflow guard fails without min-w-0 on the home grid item (scrollWidth 593, clientWidth 320).
  • Axe light scan of /privacy fails color-contrast when --muted drops below 4.5:1.
  • pnpm exec playwright test --retries=0 is green three times on a reused server.
  • CI e2e is green and within +3 min of 1m 37s.

…G-160)

Axe, mobile overflow, and console guards fail when contrast, min-width, or hydration bugs return. WebKit only runs the smoke tag.
Waiting for the load event stalls on the PM2 post in CI, so the guard never reaches scrollWidth.
@odanieldcs
odanieldcs merged commit ac2b123 into main Oct 12, 2026
6 checks passed
@odanieldcs
odanieldcs deleted the feature/eng-160 branch October 12, 2026 17:07
@vercel

vercel Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
danieldcs-com Ready Ready Preview Oct 12, 2026 5:39pm UTC

This branch was successfully deployed

1 active deployment
Preview — 0d47647a Deployed Oct 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant