Skip to content

Fix save image

Fix save image #384

Triggered via push January 10, 2025 19:29
Status Failure
Total duration 3m 50s
Artifacts 3

ci.yml

on: push
Documentation
40s
Documentation
Visual Regression
3m 41s
Visual Regression
Matrix: Python
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 1 warning, and 2 notices
tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs: tests/notebooks/tests/widgets.test.ts#L61
1) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs Error: Screenshot comparison failed: 9758 pixels (ratio 0.04 of all image pixels) are different. Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts-snapshots/widgets-cell-6-linux.png Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs/widgets-cell-6-actual.png Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-widgets-Widget-Visual-Regression-Run-notebook-widgets-ipynb-and-capture-cell-outputs/widgets-cell-6-diff.png 59 | for (let i = 0; i < cellCount; i++) { 60 | const image = `widgets-cell-${i}.png`; > 61 | expect.soft(captures[i]).toMatchSnapshot(image); | ^ 62 | } 63 | }); 64 | }); at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts:61:32
Visual Regression
Process completed with exit code 1.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "test-assets", "test-report", "updated-snapshots". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
1 failed tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs 5 passed (1.3m)
🎭 Playwright Run Summary
6 passed (1.3m)

Artifacts

Produced during runtime
Name Size
test-assets
1.23 MB
test-report
1.72 MB
updated-snapshots
538 KB