Skip to content

test(webview): add Playwright visual regression harness #14

test(webview): add Playwright visual regression harness

test(webview): add Playwright visual regression harness #14

Triggered via pull request July 23, 2026 23:06
@edelaunaedelauna
synchronize #526
issue/515
Status Failure
Total duration 1m 10s
Artifacts 1

visual-regression.yml

on: pull_request
webview-visual
1m 7s
webview-visual
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 1 warning, and 1 notice
webview-visual
Process completed with exit code 1.
[chromium] › src/components/welcome/__tests__/RooHero.visual.tsx:31:1 › renders the welcome hero hovered state: webview-ui/src/components/welcome/__tests__/RooHero.visual.tsx#L37
1) [chromium] › src/components/welcome/__tests__/RooHero.visual.tsx:31:1 › renders the welcome hero hovered state Error: A snapshot doesn't exist at /__w/Zoo-Code/Zoo-Code/webview-ui/src/components/welcome/__tests__/__screenshots__/zoo-hero-dark-hover.png, writing actual. 35 | await component.hover() 36 | > 37 | await expect(component).toHaveScreenshot("zoo-hero-dark-hover.png", { | ^ 38 | animations: "disabled", 39 | }) 40 | }) at /__w/Zoo-Code/Zoo-Code/webview-ui/src/components/welcome/__tests__/RooHero.visual.tsx:37: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/
🎭 Playwright Run Summary
1 failed [chromium] › src/components/welcome/__tests__/RooHero.visual.tsx:31:1 › renders the welcome hero hovered state 1 passed (3.6s)

Artifacts

Produced during runtime
Name Size Digest
webview-visual-regression
237 KB
sha256:d1a588455077631d69d923f7879d847b82dd10992ca873f59f02c4688c422175