Skip to content

tmp: update screenshots - #1249

Closed
nicolaskempf57 wants to merge 9 commits into
mainfrom
update-screenshots-1246-v3
Closed

nicolaskempf57 wants to merge 9 commits into
mainfrom
update-screenshots-1246-v3

Conversation

@nicolaskempf57

Copy link
Copy Markdown
Contributor

No description provided.

severo and others added 9 commits September 21, 2026 17:51
I guess it's better to show the real domain name: meteo.data.gouv.fr.

Currently, the text shown is météo.data.gouv.fr is a theoritically valid domain name,
but it does not point to the portal, so it's slightly misleading. An
alternative infra-wise would be to create the subdomain
météo.data.gouv.fr and to serve the website there (or redirect to
meteo).
Snapshots produced inside mcr.microsoft.com/playwright:v1.63.0-noble
with CI's env vars, so they match what CI renders.
chore(e2e): regenerate homepage screenshots in CI container
Move data-testid=udata-version and data-testid=commit-version to the
parent <li> elements and mask those in full-page screenshots: the li
is full column width, so the mask rectangle is constant whatever the
version string or commit id length is. Verified by regenerating in the
CI container against udata@main, then re-running with a different
udata version (17.81.dev7) — snapshots still match.

Regenerated homepage and edito snapshots in
mcr.microsoft.com/playwright:v1.63.0-noble with CI's env vars.
… in CI

Reverted in a follow-up commit once the regenerated screenshots are
applied.
The CI run with the flag regenerated snapshots byte-identical to the
ones already committed (md5-verified), confirming they match CI's
rendering. Verification must now compare against them for real.
GitHub runners vary in CPU generation, and Chromium's Skia text
anti-aliasing differs subtly between SIMD code paths: two CI runs of
the same commit produce ~0.1% differing pixels on text rows and chart
labels (measured: 8157 px on 7.2M, worst case). The edito spec already
tolerates maxDiffPixelRatio 0.01 for the same reason; apply it to the
homepage spec too.
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.

2 participants