add test for save_image #386
ci.yml
on: push
Documentation
1m 3s
Visual Regression
4m 3s
Matrix: Python
Annotations
3 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
|
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: A snapshot doesn't exist at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/widgets.test.ts-snapshots/widgets-cell-7-linux.png, writing actual.
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.4m)
|
🎭 Playwright Run Summary
6 passed (1.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-assets
|
1.49 MB |
|
test-report
|
1.98 MB |
|
updated-snapshots
|
655 KB |
|