Skip to content

Swap annotation and object properties panel #1891

Swap annotation and object properties panel

Swap annotation and object properties panel #1891

Triggered via pull request October 30, 2024 08:42
Status Failure
Total duration 17m 45s
Artifacts 5

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 9 warnings, and 1 notice
tests/tree.spec.ts:29:7 › Tree UI test › Should display the object tree: ui-tests/tests/tree.spec.ts#L62
1) tests/tree.spec.ts:29:7 › Tree UI test › Should display the object tree ─────────────────────── Error: Screenshot comparison failed: Expected an image 250px by 492px, received 250px by 374px. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/tree.spec.ts-snapshots/Tree-Display-test-jcad-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-tree-Tree-UI-test-Should-display-the-object-tree/Tree-Display-test-jcad-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-tree-Tree-UI-test-Should-display-the-object-tree/Tree-Display-test-jcad-diff.png 60 | }); 61 | if (tree) { > 62 | expect(await tree.screenshot()).toMatchSnapshot({ | ^ 63 | name: `Tree-Display-${fileName}.png`, 64 | maxDiffPixelRatio: 0.01 65 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/tree.spec.ts:62:39
tests/tree.spec.ts:29:7 › Tree UI test › Should display the object tree: ui-tests/tests/tree.spec.ts#L62
1) tests/tree.spec.ts:29:7 › Tree UI test › Should display the object tree ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 250px by 492px, received 250px by 374px. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/tree.spec.ts-snapshots/Tree-Display-test-jcad-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-tree-Tree-UI-test-Should-display-the-object-tree-retry1/Tree-Display-test-jcad-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-tree-Tree-UI-test-Should-display-the-object-tree-retry1/Tree-Display-test-jcad-diff.png 60 | }); 61 | if (tree) { > 62 | expect(await tree.screenshot()).toMatchSnapshot({ | ^ 63 | name: `Tree-Display-${fileName}.png`, 64 | maxDiffPixelRatio: 0.01 65 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/tree.spec.ts:62:39
tests/ui.spec.ts:53:11 › UI Test › File operations › Should be able to render test.jcad without error: ui-tests/tests/ui.spec.ts#L77
2) tests/ui.spec.ts:53:11 › UI Test › File operations › Should be able to render test.jcad without error Error: Screenshot comparison failed: 119807 pixels (ratio 0.07 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 75 | expect(errors).toBe(0); 76 | if (main) { > 77 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 78 | name: `Render-${file}.png`, 79 | maxDiffPixelRatio: 0.01 80 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:77:43
tests/ui.spec.ts:53:11 › UI Test › File operations › Should be able to render test.jcad without error: ui-tests/tests/ui.spec.ts#L77
2) tests/ui.spec.ts:53:11 › UI Test › File operations › Should be able to render test.jcad without error Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 119807 pixels (ratio 0.07 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 75 | expect(errors).toBe(0); 76 | if (main) { > 77 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 78 | name: `Render-${file}.png`, 79 | maxDiffPixelRatio: 0.01 80 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:77:43
tests/ui.spec.ts:109:9 › UI Test › File operator test › Should be able to add object to scene: ui-tests/tests/ui.spec.ts#L144
3) tests/ui.spec.ts:109:9 › UI Test › File operator test › Should be able to add object to scene ─ Error: Screenshot comparison failed: 180349 pixels (ratio 0.10 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Operator-Add-test-jcad-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-70534-able-to-add-object-to-scene/Operator-Add-test-jcad-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-70534-able-to-add-object-to-scene/Operator-Add-test-jcad-diff.png 142 | const main = await page.$('#jp-main-split-panel'); 143 | if (main) { > 144 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 145 | name: `Operator-Add-${fileName}.png`, 146 | maxDiffPixelRatio: 0.01 147 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:144:41
tests/ui.spec.ts:109:9 › UI Test › File operator test › Should be able to add object to scene: ui-tests/tests/ui.spec.ts#L144
3) tests/ui.spec.ts:109:9 › UI Test › File operator test › Should be able to add object to scene ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 180342 pixels (ratio 0.10 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Operator-Add-test-jcad-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-70534-able-to-add-object-to-scene-retry1/Operator-Add-test-jcad-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-70534-able-to-add-object-to-scene-retry1/Operator-Add-test-jcad-diff.png 142 | const main = await page.$('#jp-main-split-panel'); 143 | if (main) { > 144 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 145 | name: `Operator-Add-${fileName}.png`, 146 | maxDiffPixelRatio: 0.01 147 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:144:41
tests/ui.spec.ts:151:9 › UI Test › File operator test › Should be able to remove object: ui-tests/tests/ui.spec.ts#L186
4) tests/ui.spec.ts:151:9 › UI Test › File operator test › Should be able to remove object ─────── Error: Screenshot comparison failed: 132638 pixels (ratio 0.07 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Operator-Remove-test-jcad-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-ec544-ld-be-able-to-remove-object/Operator-Remove-test-jcad-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-ec544-ld-be-able-to-remove-object/Operator-Remove-test-jcad-diff.png 184 | const main = await page.$('#jp-main-split-panel'); 185 | if (main) { > 186 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 187 | name: `Operator-Remove-${fileName}.png`, 188 | maxDiffPixelRatio: 0.01 189 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:186:41
tests/ui.spec.ts:151:9 › UI Test › File operator test › Should be able to remove object: ui-tests/tests/ui.spec.ts#L186
4) tests/ui.spec.ts:151:9 › UI Test › File operator test › Should be able to remove object ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 132638 pixels (ratio 0.07 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Operator-Remove-test-jcad-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-ec544-ld-be-able-to-remove-object-retry1/Operator-Remove-test-jcad-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-ec544-ld-be-able-to-remove-object-retry1/Operator-Remove-test-jcad-diff.png 184 | const main = await page.$('#jp-main-split-panel'); 185 | if (main) { > 186 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 187 | name: `Operator-Remove-${fileName}.png`, 188 | maxDiffPixelRatio: 0.01 189 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:186:41
tests/ui.spec.ts:193:9 › UI Test › File operator test › Should be able to edit object: ui-tests/tests/ui.spec.ts#L230
5) tests/ui.spec.ts:193:9 › UI Test › File operator test › Should be able to edit object ───────── Error: Screenshot comparison failed: 166729 pixels (ratio 0.09 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Operator-Edit-test-jcad-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-92d46-ould-be-able-to-edit-object/Operator-Edit-test-jcad-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-92d46-ould-be-able-to-edit-object/Operator-Edit-test-jcad-diff.png 228 | const main = await page.$('#jp-main-split-panel'); 229 | if (main) { > 230 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 231 | name: `Operator-Edit-${fileName}.png`, 232 | maxDiffPixelRatio: 0.01 233 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:230:41
tests/ui.spec.ts:193:9 › UI Test › File operator test › Should be able to edit object: ui-tests/tests/ui.spec.ts#L230
5) tests/ui.spec.ts:193:9 › UI Test › File operator test › Should be able to edit object ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 166729 pixels (ratio 0.09 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Operator-Edit-test-jcad-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-92d46-ould-be-able-to-edit-object-retry1/Operator-Edit-test-jcad-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-92d46-ould-be-able-to-edit-object-retry1/Operator-Edit-test-jcad-diff.png 228 | const main = await page.$('#jp-main-split-panel'); 229 | if (main) { > 230 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 231 | name: `Operator-Edit-${fileName}.png`, 232 | maxDiffPixelRatio: 0.01 233 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:230:41
Build jupytercad
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Build JupyterLite
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/download-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/
test_isolated
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4, actions/download-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/
Integration tests
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/
Check Links
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build jupytercad
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build jupytercad
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v2, 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/
Build jupytercad
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
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: "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/
🎭 Playwright Run Summary
8 failed tests/tree.spec.ts:29:7 › Tree UI test › Should display the object tree ──────────────────────── tests/ui.spec.ts:53:11 › UI Test › File operations › Should be able to render test.jcad without error tests/ui.spec.ts:109:9 › UI Test › File operator test › Should be able to add object to scene ── tests/ui.spec.ts:151:9 › UI Test › File operator test › Should be able to remove object ──────── tests/ui.spec.ts:193:9 › UI Test › File operator test › Should be able to edit object ────────── tests/ui.spec.ts:237:9 › UI Test › File operator test › Should be able to do multi selection ─── tests/ui.spec.ts:302:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File tests/ui.spec.ts:357:9 › UI Test › Console activation test › should open console ─────────────── 7 passed (5.6m)

Artifacts

Produced during runtime
Name Size
appsharingspace
355 Bytes
extension-artifacts
24.7 MB
galata-apss
355 Bytes
github-pages
33.8 MB
jupytercad-playwright-tests
7.94 MB