Add volume slice plugin #340
ci.yml
on: push
Documentation
54s
Visual Regression
11m 39s
Matrix: Python
Annotations
13 errors, 7 warnings, and 2 notices
tests/animation.test.ts:19:7 › Widget Visual Regression › Run notebook animation.ipynb and capture cell outputs:
tests/notebooks/tests/animation.test.ts#L62
1) tests/animation.test.ts:19:7 › Widget Visual Regression › Run notebook animation.ipynb and capture cell outputs
Error: Screenshot comparison failed:
10600 pixels (ratio 0.05 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/animation.test.ts-snapshots/animation-cell-1-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-animation-Widget-Visual-Regression-Run-notebook-animation-ipynb-and-capture-cell-outputs/animation-cell-1-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-animation-Widget-Visual-Regression-Run-notebook-animation-ipynb-and-capture-cell-outputs/animation-cell-1-diff.png
60 | for (let i = 0; i < cellCount; i++) {
61 | const image = `animation-cell-${i}.png`;
> 62 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
63 | }
64 | });
65 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/animation.test.ts:62:32
|
tests/camera.test.ts:19:7 › Widget Visual Regression › Run notebook camera.ipynb and capture cell outputs:
tests/notebooks/tests/camera.test.ts#L62
2) tests/camera.test.ts:19:7 › Widget Visual Regression › Run notebook camera.ipynb and capture cell outputs
Error: Screenshot comparison failed:
3570 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/camera.test.ts-snapshots/camera-cell-0-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-camera-Widget-Visual-Regression-Run-notebook-camera-ipynb-and-capture-cell-outputs/camera-cell-0-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-camera-Widget-Visual-Regression-Run-notebook-camera-ipynb-and-capture-cell-outputs/camera-cell-0-diff.png
60 | for (let i = 0; i < cellCount; i++) {
61 | const image = `camera-cell-${i}.png`;
> 62 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
63 | }
64 | });
65 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/camera.test.ts:62:32
|
tests/camera.test.ts:19:7 › Widget Visual Regression › Run notebook camera.ipynb and capture cell outputs:
tests/notebooks/tests/camera.test.ts#L62
2) tests/camera.test.ts:19:7 › Widget Visual Regression › Run notebook camera.ipynb and capture cell outputs
Error: Screenshot comparison failed:
3836 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/camera.test.ts-snapshots/camera-cell-1-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-camera-Widget-Visual-Regression-Run-notebook-camera-ipynb-and-capture-cell-outputs/camera-cell-1-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-camera-Widget-Visual-Regression-Run-notebook-camera-ipynb-and-capture-cell-outputs/camera-cell-1-diff.png
60 | for (let i = 0; i < cellCount; i++) {
61 | const image = `camera-cell-${i}.png`;
> 62 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
63 | }
64 | });
65 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/camera.test.ts:62:32
|
tests/camera.test.ts:19:7 › Widget Visual Regression › Run notebook camera.ipynb and capture cell outputs:
tests/notebooks/tests/camera.test.ts#L62
2) tests/camera.test.ts:19:7 › Widget Visual Regression › Run notebook camera.ipynb and capture cell outputs
Error: Screenshot comparison failed:
29122 pixels (ratio 0.12 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/camera.test.ts-snapshots/camera-cell-2-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-camera-Widget-Visual-Regression-Run-notebook-camera-ipynb-and-capture-cell-outputs/camera-cell-2-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-camera-Widget-Visual-Regression-Run-notebook-camera-ipynb-and-capture-cell-outputs/camera-cell-2-diff.png
60 | for (let i = 0; i < cellCount; i++) {
61 | const image = `camera-cell-${i}.png`;
> 62 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
63 | }
64 | });
65 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/camera.test.ts:62:32
|
tests/camera.test.ts:19:7 › Widget Visual Regression › Run notebook camera.ipynb and capture cell outputs:
tests/notebooks/tests/camera.test.ts#L62
2) tests/camera.test.ts:19:7 › Widget Visual Regression › Run notebook camera.ipynb and capture cell outputs
Error: Screenshot comparison failed:
89505 pixels (ratio 0.35 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/camera.test.ts-snapshots/camera-cell-3-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-camera-Widget-Visual-Regression-Run-notebook-camera-ipynb-and-capture-cell-outputs/camera-cell-3-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-camera-Widget-Visual-Regression-Run-notebook-camera-ipynb-and-capture-cell-outputs/camera-cell-3-diff.png
60 | for (let i = 0; i < cellCount; i++) {
61 | const image = `camera-cell-${i}.png`;
> 62 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
63 | }
64 | });
65 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/camera.test.ts:62:32
|
tests/lattice_plane.test.ts:19:7 › Widget Visual Regression › Run notebook lattice_plane.ipynb and capture cell outputs:
tests/notebooks/tests/lattice_plane.test.ts#L63
3) tests/lattice_plane.test.ts:19:7 › Widget Visual Regression › Run notebook lattice_plane.ipynb and capture cell outputs
Error: Screenshot comparison failed:
6015 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/lattice_plane.test.ts-snapshots/lattice-plane-cell-0-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-lattice_plane-Widget-Visual-Regression-R-574e2-ok-lattice-plane-ipynb-and-capture-cell-outputs/lattice-plane-cell-0-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-lattice_plane-Widget-Visual-Regression-R-574e2-ok-lattice-plane-ipynb-and-capture-cell-outputs/lattice-plane-cell-0-diff.png
61 | for (let i = 0; i < cellCount; i++) {
62 | const image = `lattice_plane-cell-${i}.png`;
> 63 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
64 | }
65 | });
66 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/lattice_plane.test.ts:63:32
|
tests/lattice_plane.test.ts:19:7 › Widget Visual Regression › Run notebook lattice_plane.ipynb and capture cell outputs:
tests/notebooks/tests/lattice_plane.test.ts#L63
3) tests/lattice_plane.test.ts:19:7 › Widget Visual Regression › Run notebook lattice_plane.ipynb and capture cell outputs
Error: Screenshot comparison failed:
14324 pixels (ratio 0.06 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/lattice_plane.test.ts-snapshots/lattice-plane-cell-1-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-lattice_plane-Widget-Visual-Regression-R-574e2-ok-lattice-plane-ipynb-and-capture-cell-outputs/lattice-plane-cell-1-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-lattice_plane-Widget-Visual-Regression-R-574e2-ok-lattice-plane-ipynb-and-capture-cell-outputs/lattice-plane-cell-1-diff.png
61 | for (let i = 0; i < cellCount; i++) {
62 | const image = `lattice_plane-cell-${i}.png`;
> 63 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
64 | }
65 | });
66 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/lattice_plane.test.ts:63:32
|
tests/lattice_plane.test.ts:19:7 › Widget Visual Regression › Run notebook lattice_plane.ipynb and capture cell outputs:
tests/notebooks/tests/lattice_plane.test.ts#L63
3) tests/lattice_plane.test.ts:19:7 › Widget Visual Regression › Run notebook lattice_plane.ipynb and capture cell outputs
Error: Screenshot comparison failed:
10278 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/lattice_plane.test.ts-snapshots/lattice-plane-cell-2-linux.png
Received: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-lattice_plane-Widget-Visual-Regression-R-574e2-ok-lattice-plane-ipynb-and-capture-cell-outputs/lattice-plane-cell-2-actual.png
Diff: /home/runner/work/weas-widget/weas-widget/tests/notebooks/test-results/tests-lattice_plane-Widget-Visual-Regression-R-574e2-ok-lattice-plane-ipynb-and-capture-cell-outputs/lattice-plane-cell-2-diff.png
61 | for (let i = 0; i < cellCount; i++) {
62 | const image = `lattice_plane-cell-${i}.png`;
> 63 | expect.soft(captures[i]).toMatchSnapshot(image);
| ^
64 | }
65 | });
66 | });
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/lattice_plane.test.ts:63:32
|
tests/ops.test.ts:19:7 › Widget Visual Regression › Run notebook ops.ipynb and capture cell outputs:
tests/notebooks/tests/ops.test.ts#L62
4) tests/ops.test.ts:19:7 › Widget Visual Regression › Run notebook ops.ipynb and capture cell outputs
Error: Screenshot comparison failed:
12436 pixels (ratio 0.05 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/ops.test.ts-snapshots/ops-cell-1-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-1-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-1-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
|
tests/ops.test.ts:19:7 › Widget Visual Regression › Run notebook ops.ipynb and capture cell outputs:
tests/notebooks/tests/ops.test.ts#L62
4) tests/ops.test.ts:19:7 › Widget Visual Regression › Run notebook ops.ipynb and capture cell outputs
Error: Screenshot comparison failed:
11263 pixels (ratio 0.05 of all image pixels) are different.
Expected: /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/ops.test.ts-snapshots/ops-cell-2-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-2-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-2-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
|
tests/plugins.test.ts:19:7 › Widget Visual Regression › Run notebook plugins.ipynb and capture cell outputs:
tests/notebooks/tests/plugins.test.ts#L1
1) tests/plugins.test.ts:19:7 › Widget Visual Regression › Run notebook plugins.ipynb and capture cell outputs
Test timeout of 240000ms exceeded.
|
tests/plugins.test.ts:19:7 › Widget Visual Regression › Run notebook plugins.ipynb and capture cell outputs:
tests/notebooks/tests/plugins.test.ts#L30
1) tests/plugins.test.ts:19:7 › Widget Visual Regression › Run notebook plugins.ipynb and capture cell outputs
Error: page.evaluate: Test timeout of 240000ms exceeded.
28 | const cellCount = await page.notebook.getCellCount();
29 |
> 30 | await page.notebook.runCellByCell({
| ^
31 | onAfterCellRun: async (cellIndex: number) => {
32 | let cell = await page.notebook.getCellOutput(cellIndex);
33 | const startTime = Date.now();
at NotebookHelper.runCellByCell (/home/runner/work/weas-widget/weas-widget/tests/notebooks/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:325:21)
at /home/runner/work/weas-widget/weas-widget/tests/notebooks/tests/plugins.test.ts:30:5
|
Visual Regression
Process completed with exit code 1.
|
Documentation
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Python (3.9)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Python (3.8)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Python (3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Python (3.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Visual Regression
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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
6 failed
tests/animation.test.ts:19:7 › Widget Visual Regression › Run notebook animation.ipynb and capture cell outputs
tests/camera.test.ts:19:7 › Widget Visual Regression › Run notebook camera.ipynb and capture cell outputs
tests/lattice_plane.test.ts:19:7 › Widget Visual Regression › Run notebook lattice_plane.ipynb and capture cell outputs
tests/ops.test.ts:19:7 › Widget Visual Regression › Run notebook ops.ipynb and capture cell outputs
tests/plugins.test.ts:19:7 › Widget Visual Regression › Run notebook plugins.ipynb and capture cell outputs
tests/widgets.test.ts:19:7 › Widget Visual Regression › Run notebook widgets.ipynb and capture cell outputs
|
🎭 Playwright Run Summary
1 failed
tests/plugins.test.ts:19:7 › Widget Visual Regression › Run notebook plugins.ipynb and capture cell outputs
5 passed (5.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-assets
|
8.93 MB |
|
test-report
|
9.27 MB |
|
updated-snapshots
|
443 KB |
|