Skip to content

ci(storybook): run axe on a Playwright-supported runner - #116

Merged
wangtai merged 1 commit into
mainfrom
develop
Nov 13, 2026
Merged

wangtai merged 1 commit into
mainfrom
develop

Conversation

@wangtai

@wangtai wangtai commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Problem

Storybook quality / a11y has failed on every push to main since 2026-11-13 04:46, before any 0.11 work landed:

BEWARE: your OS is not officially supported by Playwright; installing dependencies for ubuntu26.04-x64 as a fallback.
Error: ERROR: Playwright does not support chromium on ubuntu26.04-x64

GitHub moved ubuntu-latest to 26.04. The pinned Playwright (1.60.0) has neither a chromium build nor a dependency list for it, so playwright install dies before a single test runs. Nothing to do with the pages under test.

Change

a11y now runs on ubuntu-22.04 — the image vrt in the same workflow already pins, so both gates read the same rendered DOM.

Why not just upgrade Playwright

1.65.0 does support 26.04 (checked its bundled browsers.json and platform list). But it moves chromium from revision 1223 to 1254, which invalidates every committed VRT baseline under tests/visual/. That is a real change with regenerated and reviewed snapshots, not something to smuggle into a CI fix. The workflow comment records both the reason for the pin and this upgrade path.

Verification

  • Workflow parses; both jobs now report ubuntu-22.04.
  • No product code touched; git diff --stat is one file, 12 insertions.

Made with Cursor

GitHub moved `ubuntu-latest` to 26.04. The pinned Playwright (1.60.0) has
no chromium build and no dependency list for it, so the install step died
with `Playwright does not support chromium on ubuntu26.04-x64` before a
single test ran. `vrt` in the same workflow already pins 22.04, so only
a11y was affected.

Pins a11y to 22.04 — the same image `vrt` uses, so both gates read the
same rendered DOM.

This is a stopgap: 22.04 is being retired too. The durable fix is a
Playwright upgrade, but that moves chromium (1.60 pins 1223, 1.65 pins
1254) and invalidates every committed VRT baseline, so it needs its own
change with regenerated, reviewed snapshots. The comment says so.

Verified: workflow parses; both jobs now name ubuntu-22.04.
Signed-off-by: Wang Tai <i@wangtai.me>
@wangtai
wangtai merged commit 4bbe256 into main Nov 13, 2026
33 of 34 checks passed
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