WIP: Add ViewHelper #1546
Annotations
10 errors, 2 warnings, and 1 notice
Execute integration tests:
ui-tests/tests/notebook.spec.ts#L49
1) tests/notebook.spec.ts:71:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct
Error: Screenshot comparison failed:
7523 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts-snapshots/light-Notebook-ipynb-cell-0-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-notebook-Notebook-AP-da5b3-l-outputs-should-be-correct/light-Notebook-ipynb-cell-0-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-notebook-Notebook-AP-da5b3-l-outputs-should-be-correct/light-Notebook-ipynb-cell-0-diff.png
47 |
48 | for (let c = 0; c < numCellImages; ++c) {
> 49 | expect(results[c]).toMatchSnapshot(
| ^
50 | getCaptureImageName(contextPrefix, notebook, c)
51 | );
52 | }
at testCellOutputs (/home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts:49:26)
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts:75:5
|
Execute integration tests:
ui-tests/tests/notebook.spec.ts#L49
1) tests/notebook.spec.ts:71:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
7523 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts-snapshots/light-Notebook-ipynb-cell-0-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-notebook-Notebook-AP-da5b3-l-outputs-should-be-correct-retry1/light-Notebook-ipynb-cell-0-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-notebook-Notebook-AP-da5b3-l-outputs-should-be-correct-retry1/light-Notebook-ipynb-cell-0-diff.png
47 |
48 | for (let c = 0; c < numCellImages; ++c) {
> 49 | expect(results[c]).toMatchSnapshot(
| ^
50 | getCaptureImageName(contextPrefix, notebook, c)
51 | );
52 | }
at testCellOutputs (/home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts:49:26)
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts:75:5
|
Execute integration tests:
ui-tests/tests/notebook.spec.ts#L49
2) tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct
Error: Screenshot comparison failed:
9727 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts-snapshots/dark-Notebook-ipynb-cell-0-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-notebook-Notebook-AP-aebed-l-outputs-should-be-correct/dark-Notebook-ipynb-cell-0-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-notebook-Notebook-AP-aebed-l-outputs-should-be-correct/dark-Notebook-ipynb-cell-0-diff.png
47 |
48 | for (let c = 0; c < numCellImages; ++c) {
> 49 | expect(results[c]).toMatchSnapshot(
| ^
50 | getCaptureImageName(contextPrefix, notebook, c)
51 | );
52 | }
at testCellOutputs (/home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts:49:26)
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts:82:5
|
Execute integration tests:
ui-tests/tests/notebook.spec.ts#L49
2) tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
9727 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts-snapshots/dark-Notebook-ipynb-cell-0-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-notebook-Notebook-AP-aebed-l-outputs-should-be-correct-retry1/dark-Notebook-ipynb-cell-0-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-notebook-Notebook-AP-aebed-l-outputs-should-be-correct-retry1/dark-Notebook-ipynb-cell-0-diff.png
47 |
48 | for (let c = 0; c < numCellImages; ++c) {
> 49 | expect(results[c]).toMatchSnapshot(
| ^
50 | getCaptureImageName(contextPrefix, notebook, c)
51 | );
52 | }
at testCellOutputs (/home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts:49:26)
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/notebook.spec.ts:82:5
|
Execute integration tests:
ui-tests/tests/ui.spec.ts#L75
3) tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render test.jcad without error
Error: Screenshot comparison failed:
69780 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Render-test-jcad-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-f32dc-der-test-jcad-without-error/Render-test-jcad-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-f32dc-der-test-jcad-without-error/Render-test-jcad-diff.png
73 | expect(errors).toBe(0);
74 | if (main) {
> 75 | expect(await main.screenshot()).toMatchSnapshot({
| ^
76 | name: `Render-${file}.png`,
77 | maxDiffPixelRatio: 0.01
78 | });
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:75:43
|
Execute integration tests:
ui-tests/tests/ui.spec.ts#L75
3) tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render test.jcad without error
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
69780 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Render-test-jcad-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-f32dc-der-test-jcad-without-error-retry1/Render-test-jcad-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-f32dc-der-test-jcad-without-error-retry1/Render-test-jcad-diff.png
73 | expect(errors).toBe(0);
74 | if (main) {
> 75 | expect(await main.screenshot()).toMatchSnapshot({
| ^
76 | name: `Render-${file}.png`,
77 | maxDiffPixelRatio: 0.01
78 | });
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:75:43
|
Execute integration tests:
ui-tests/tests/ui.spec.ts#L75
4) tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render 3M_CONNECTOR.STEP without error
Error: Screenshot comparison failed:
59790 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Render-3M-CONNECTOR-STEP-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-f3546-ONNECTOR-STEP-without-error/Render-3M-CONNECTOR-STEP-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-f3546-ONNECTOR-STEP-without-error/Render-3M-CONNECTOR-STEP-diff.png
73 | expect(errors).toBe(0);
74 | if (main) {
> 75 | expect(await main.screenshot()).toMatchSnapshot({
| ^
76 | name: `Render-${file}.png`,
77 | maxDiffPixelRatio: 0.01
78 | });
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:75:43
|
Execute integration tests:
ui-tests/tests/ui.spec.ts#L75
4) tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render 3M_CONNECTOR.STEP without error
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
59790 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Render-3M-CONNECTOR-STEP-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-f3546-ONNECTOR-STEP-without-error-retry1/Render-3M-CONNECTOR-STEP-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-f3546-ONNECTOR-STEP-without-error-retry1/Render-3M-CONNECTOR-STEP-diff.png
73 | expect(errors).toBe(0);
74 | if (main) {
> 75 | expect(await main.screenshot()).toMatchSnapshot({
| ^
76 | name: `Render-${file}.png`,
77 | maxDiffPixelRatio: 0.01
78 | });
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:75:43
|
Execute integration tests:
ui-tests/tests/ui.spec.ts#L75
5) tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render fan.stl without error
Error: Screenshot comparison failed:
54239 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Render-fan-stl-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-5e420-ender-fan-stl-without-error/Render-fan-stl-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-5e420-ender-fan-stl-without-error/Render-fan-stl-diff.png
73 | expect(errors).toBe(0);
74 | if (main) {
> 75 | expect(await main.screenshot()).toMatchSnapshot({
| ^
76 | name: `Render-${file}.png`,
77 | maxDiffPixelRatio: 0.01
78 | });
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:75:43
|
Execute integration tests:
ui-tests/tests/ui.spec.ts#L75
5) tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render fan.stl without error
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
54239 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Render-fan-stl-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-5e420-ender-fan-stl-without-error-retry1/Render-fan-stl-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-5e420-ender-fan-stl-without-error-retry1/Render-fan-stl-diff.png
73 | expect(errors).toBe(0);
74 | if (main) {
> 75 | expect(await main.screenshot()).toMatchSnapshot({
| ^
76 | name: `Render-${file}.png`,
77 | maxDiffPixelRatio: 0.01
78 | });
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:75:43
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/download-artifact@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "extension-artifacts".
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/
|
Execute integration tests
11 failed
tests/notebook.spec.ts:71:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct
tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct
tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render test.jcad without error
tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render 3M_CONNECTOR.STEP without error
tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render fan.stl without error
tests/ui.spec.ts:106:9 › UI Test › File operator test › Should be able to add object to scene ──
tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to remove object ────────
tests/ui.spec.ts:190:9 › UI Test › File operator test › Should be able to edit object ──────────
tests/ui.spec.ts:238:9 › UI Test › File operator test › Should be able to do multi selection ───
tests/ui.spec.ts:303:11 › UI Test › JCAD creation test › Extension activation test › should create a new JCAD file
tests/ui.spec.ts:362:9 › UI Test › Console activation test › should open console ───────────────
4 passed (6.2m)
|
Loading