test(webview): add Playwright visual regression harness #10
visual-regression.yml
on: pull_request
webview-visual
1m 12s
Annotations
2 errors, 2 warnings, and 1 notice
|
webview-visual
Process completed with exit code 1.
|
|
[chromium] › src/components/welcome/__tests__/RooHero.visual.tsx:6:1 › renders the welcome hero in the VS Code dark theme:
webview-ui/src/components/welcome/__tests__/RooHero.visual.tsx#L14
1) [chromium] › src/components/welcome/__tests__/RooHero.visual.tsx:6:1 › renders the welcome hero in the VS Code dark theme
Error: A snapshot doesn't exist at /__w/Zoo-Code/Zoo-Code/webview-ui/src/components/welcome/__tests__/__screenshots__/roo-hero-dark.png, writing actual.
12 | })
13 |
> 14 | await expect(component).toHaveScreenshot("roo-hero-dark.png")
| ^
15 | })
16 |
at /__w/Zoo-Code/Zoo-Code/webview-ui/src/components/welcome/__tests__/RooHero.visual.tsx:14:2
|
|
webview-visual
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830, actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020, actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02, codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238, pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
webview-visual
Codecov:
Failed to properly upload report: The process '/__w/_actions/codecov/codecov-action/b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238/dist/codecov' failed with exit code 1
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › src/components/welcome/__tests__/RooHero.visual.tsx:6:1 › renders the welcome hero in the VS Code dark theme
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
webview-visual-regression
|
235 KB |
sha256:b6e795385c31c370e08df55f334c56bc85369aa85fb388a5ffec9d960cf45273
|
|