Skip to content

Commit dadac92

Browse files
test(webview): regenerate the experimental settings visual baselines
The four baselines were measured against the pre-refresh gallery rendering. Upstream main renders the real @vscode/webview-ui-toolkit in the gallery (the toolkit mock is gone), so the story is 46 px taller and CI's required webview-visual check failed all four themes. Reproduced first, in the image pinned by visual-regression.yml (mcr.microsoft.com/playwright:v1.64.1-noble@sha256:47b510dd9..., chromium build 1248, tree = this branch merged with a15ba8c - the same content as the PR merge ref): Error: expect(locator).toHaveScreenshot(expected) failed Expected an image 488px by 543px, received 488px by 589px. 37618 pixels (ratio 0.14 of all image pixels) are different. with 16638 / 40967 / 16740 differing pixels for light / high-contrast / high-contrast-light - byte-for-byte the same diff counts CI reported for head 301c1c5, which is the evidence that this container reproduces the CI rendering. Then regenerated with test:visual:docker:update scoped to the story (--grep "renders the experimental settings" --update-snapshots), which re-wrote exactly these four files: sha256 of every other __screenshots__/*.png is identical before and after. All four are 488x589, matching the measured CI height; no dimensions were hand-edited.
1 parent a345899 commit dadac92

4 files changed

File tree

4.42 KB
Loading
4.45 KB
Loading
4.47 KB
Loading
4.11 KB
Loading

0 commit comments

Comments
 (0)