<!-- Writing style: write in Simplified Technical English (ASD-STE100): short sentences, plain words, active voice, one idea per sentence, no contractions. Keep the title short and specific. --> **Describe the bug** The `WelcomeViewProvider.visual.tsx` test is flaky: - [my PR](https://github.com/Zoo-Code-Org/Zoo-Code/pull/2194): [visual regression](https://github.com/Zoo-Code-Org/Zoo-Code/actions/runs/41986015338/job/127106790439?pr=2194) - almost in the [Visual Regression workflow](https://github.com/Zoo-Code-Org/Zoo-Code/actions/workflows/visual-regression.yml?query=is%3Afailure) **To Reproduce** Write the steps that show the bug: 1. Commit something to `webview-ui` 2. Create PR 3. Wait PR checks 4. If `Visual Regression / webview-visual (pull_request)` check failed, go to the logs 5. Find the next logs or similar: ``` Error: high-contrast-light welcome action boundary: 2.34:1 (required 3:1; foreground rgba(34, 88, 142, 0.494); background rgba(255, 255, 255, 1.00)) expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 3 Received: 2.337314441758872 at ../playwright/contrast.ts:198 196 | : options.minimum 197 | const diagnostic = `${options.label}: ${ratio.toFixed(2)}:1 (required ${minimum}:1; foreground ${styles.foreground}; background rgba(${effectiveBackground.r.toFixed(0)}, ${effectiveBackground.g.toFixed(0)}, ${effectiveBackground.b.toFixed(0)}, ${effectiveBackground.a.toFixed(2)}))` > 198 | expect(ratio, diagnostic).toBeGreaterThanOrEqual(minimum) | ^ 199 | return { ratio, minimum, foreground: effectiveForeground, background: effectiveBackground } 200 | } 201 | at expectContrast (/__w/Zoo-Code/Zoo-Code/webview-ui/playwright/contrast.ts:198:28) at /__w/Zoo-Code/Zoo-Code/webview-ui/src/components/welcome/__tests__/WelcomeViewProvider.visual.tsx:25:4 ✘ 96 [chromium] › src/components/welcome/__tests__/WelcomeViewProvider.visual.tsx:8:2 › renders the full welcome screen in the VS Code high-contrast-light theme (1.4s) ✓ 95 [chromium] › src/components/welcome/__tests__/WelcomeViewProvider.visual.tsx:8:2 › renders the full welcome screen in the VS Code high-contrast theme (1.6s) Notice: 1 failed [chromium] › src/components/welcome/__tests__/WelcomeViewProvider.visual.tsx:8:2 › renders the full welcome screen in the VS Code high-contrast-light theme ``` **What version of zoo are you running** 3.94.0
Activity
test(webview): finish CSS transitions after the visual theme changes
rrewll commentedon Nov 5, 2026
claiming
test(webview): finish CSS transitions after the visual theme changes
test(webview): finish CSS transitions after the visual theme changes (Z…