Use refactored weas #119
Annotations
10 errors, 1 warning, and 2 notices
Execute integration tests:
tests/notebooks/tests/ops.test.ts#L62
1) tests/ops.test.ts:19:7 › Widget Visual Regression › Run notebook ops.ipynb and capture cell outputs
Error: Screenshot comparison failed:
3876 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/ops.test.ts-snapshots/ops-cell-5-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-ops-Widget-Visual-Regression-Run-notebook-ops-ipynb-and-capture-cell-outputs/ops-cell-5-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-ops-Widget-Visual-Regression-Run-notebook-ops-ipynb-and-capture-cell-outputs/ops-cell-5-diff.png
60 | for (let i = 0; i < cellCount; i++) {
61 | const image = `ops-cell-${i}.png`;
> 62 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
63 | }
64 | });
65 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/ops.test.ts:62:32
|
Execute integration tests:
tests/notebooks/tests/ops.test.ts#L62
1) tests/ops.test.ts:19:7 › Widget Visual Regression › Run notebook ops.ipynb and capture cell outputs
Error: Screenshot comparison failed:
3002 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/ops.test.ts-snapshots/ops-cell-6-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-ops-Widget-Visual-Regression-Run-notebook-ops-ipynb-and-capture-cell-outputs/ops-cell-6-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-ops-Widget-Visual-Regression-Run-notebook-ops-ipynb-and-capture-cell-outputs/ops-cell-6-diff.png
60 | for (let i = 0; i < cellCount; i++) {
61 | const image = `ops-cell-${i}.png`;
> 62 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
63 | }
64 | });
65 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/ops.test.ts:62:32
|
Execute integration tests:
tests/notebooks/tests/ops.test.ts#L62
1) tests/ops.test.ts:19:7 › Widget Visual Regression › Run notebook ops.ipynb and capture cell outputs
Error: Screenshot comparison failed:
3002 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/ops.test.ts-snapshots/ops-cell-7-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-ops-Widget-Visual-Regression-Run-notebook-ops-ipynb-and-capture-cell-outputs/ops-cell-7-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-ops-Widget-Visual-Regression-Run-notebook-ops-ipynb-and-capture-cell-outputs/ops-cell-7-diff.png
60 | for (let i = 0; i < cellCount; i++) {
61 | const image = `ops-cell-${i}.png`;
> 62 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
63 | }
64 | });
65 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/ops.test.ts:62:32
|
Execute integration tests:
tests/notebooks/tests/ops.test.ts#L62
1) tests/ops.test.ts:19:7 › Widget Visual Regression › Run notebook ops.ipynb and capture cell outputs
Error: Screenshot comparison failed:
3002 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/ops.test.ts-snapshots/ops-cell-8-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-ops-Widget-Visual-Regression-Run-notebook-ops-ipynb-and-capture-cell-outputs/ops-cell-8-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-ops-Widget-Visual-Regression-Run-notebook-ops-ipynb-and-capture-cell-outputs/ops-cell-8-diff.png
60 | for (let i = 0; i < cellCount; i++) {
61 | const image = `ops-cell-${i}.png`;
> 62 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
63 | }
64 | });
65 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/ops.test.ts:62:32
|
Execute integration tests:
tests/notebooks/tests/widgets.test.ts#L61
2) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs
TypeError: Cannot read properties of undefined (reading 'slice')
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
|
Execute integration tests:
tests/notebooks/tests/widgets.test.ts#L61
2) tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs
TypeError: Cannot read properties of undefined (reading 'slice')
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
|
Execute integration tests
Process completed with exit code 1.
|
Update snapshots:
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
TypeError: Cannot read properties of undefined (reading 'slice')
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
|
Update snapshots:
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
TypeError: Cannot read properties of undefined (reading 'slice')
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
|
Update snapshots
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Execute integration tests
2 failed
tests/ops.test.ts:19:7 › Widget Visual Regression › Run notebook ops.ipynb and capture cell outputs
tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs
2 passed (3.6m)
|
Update snapshots
1 failed
tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs
3 passed (3.5m)
|
Loading