refactor(api): centralize service-tier primitives #130
visual-regression.yml
on: pull_request
webview-visual
1m 0s
Annotations
2 errors, 1 warning, and 1 notice
|
webview-visual
Process completed with exit code 1.
|
|
[chromium] › src/components/settings/__tests__/ModelInfoView.visual.tsx:6:1 › renders OpenAI service tier pricing in the VS Code dark theme:
webview-ui/src/components/settings/__tests__/ModelInfoView.visual.tsx#L14
1) [chromium] › src/components/settings/__tests__/ModelInfoView.visual.tsx:6:1 › renders OpenAI service tier pricing in the VS Code dark theme
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('#root').locator('internal:control=component')
Expected an image 488px by 153px, received 488px by 155px. 6394 pixels (ratio 0.09 of all image pixels) are different.
Snapshot: model-info-service-tier-pricing-dark.png
Call log:
- Expect "toHaveScreenshot(model-info-service-tier-pricing-dark.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <div class="w-[480px] bg-vscode-editor-background p-4 text-vscode-foreground">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 488px by 153px, received 488px by 155px. 6394 pixels (ratio 0.09 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#root').locator('internal:control=component')
- locator resolved to <div class="w-[480px] bg-vscode-editor-background p-4 text-vscode-foreground">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 488px by 153px, received 488px by 155px. 6394 pixels (ratio 0.09 of all image pixels) are different.
12 | })
13 |
> 14 | await expect(component).toHaveScreenshot("model-info-service-tier-pricing-dark.png")
| ^
15 | })
16 |
at /__w/Zoo-Code/Zoo-Code/webview-ui/src/components/settings/__tests__/ModelInfoView.visual.tsx:14:26
|
|
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/settings/__tests__/ModelInfoView.visual.tsx:6:1 › renders OpenAI service tier pricing in the VS Code dark theme
1 passed (4.2s)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
webview-visual-regression
|
304 KB |
sha256:e1a19b6c559388cc159939ed958ecd493f8ffe93037f4ec6ea438683de1037ad
|
|