Files
romm/frontend/e2e/specs/auth
Stu Anderson cf6966112b chore(e2e): check every page for accessibility violations with axe (#4951)
* chore(e2e): Update playwright #4772, smaller focus

* chore(e2e) address greptile feedback

* chore(e2e): Add Lighthouse and Axe

* chore(e2e): replace the Lighthouse and axe projects with an axe check per page

- Move PAGES and the page-opening wait into support/pages.ts, so loads.spec.ts
  and the new a11y.spec.ts share one list of every route.
- a11y.spec.ts runs axe on each page as the least privileged role allowed on
  it, and login.spec.ts on the login page. Critical violations fail; every
  violation is attached to the report as JSON. Serious ones (mostly color
  contrast) still fire on several pages, so they stay report-only for now.
- Drop the Lighthouse suite and its dependency tree, the separate axe project,
  the @smoke tag, the sitemap, and build:e2e.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(e2e): wait for skeletons to clear before checking a page

Addresses Greptile's review: openPage returned once the view mounted, so axe
(and the load check) ran while seven data-backed pages still showed
RSkeletonBlock placeholders. Wait until none are in the viewport; virtualized
grids keep them below the fold.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 07:16:25 -04:00
..