Swap annotation and object properties panel #1901
build.yml
on: pull_request
Build jupytercad
4m 24s
Check Links
1m 16s
test_isolated
31s
deploy
0s
Annotations
10 errors, 9 warnings, and 1 notice
tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle:
ui-tests/tests/sketcher.spec.ts#L94
1) tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle ────────────────────────────
Error: Screenshot comparison failed:
12243 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/sketcher.spec.ts-snapshots/Sketcher-Circle-test-jcad-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-sketcher-Sketcher-test-Should-draw-a-circle/Sketcher-Circle-test-jcad-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-sketcher-Sketcher-test-Should-draw-a-circle/Sketcher-Circle-test-jcad-diff.png
92 | const dialog = await page.$('.lm-Widget.lm-Panel.jp-Dialog-content');
93 | if (dialog) {
> 94 | expect(await dialog.screenshot()).toMatchSnapshot({
| ^
95 | name: `Sketcher-Circle-${fileName}.png`,
96 | maxDiffPixelRatio: 0.01
97 | });
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/sketcher.spec.ts:94:41
|
tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle:
ui-tests/tests/sketcher.spec.ts#L94
1) tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle ────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
12243 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/sketcher.spec.ts-snapshots/Sketcher-Circle-test-jcad-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-sketcher-Sketcher-test-Should-draw-a-circle-retry1/Sketcher-Circle-test-jcad-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-sketcher-Sketcher-test-Should-draw-a-circle-retry1/Sketcher-Circle-test-jcad-diff.png
92 | const dialog = await page.$('.lm-Widget.lm-Panel.jp-Dialog-content');
93 | if (dialog) {
> 94 | expect(await dialog.screenshot()).toMatchSnapshot({
| ^
95 | name: `Sketcher-Circle-${fileName}.png`,
96 | maxDiffPixelRatio: 0.01
97 | });
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/sketcher.spec.ts:94:41
|
tests/tree.spec.ts:29:7 › Tree UI test › Should display the object tree:
ui-tests/tests/tree.spec.ts#L62
2) 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
2) 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:215:9 › UI Test › File operator test › Should be able to do multi selection:
ui-tests/tests/ui.spec.ts#L253
3) tests/ui.spec.ts:215:9 › UI Test › File operator test › Should be able to do multi selection ──
Error: Screenshot comparison failed:
131422 pixels (ratio 0.07 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/MultiSelect-test-jcad-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-adf4f--able-to-do-multi-selection/MultiSelect-test-jcad-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-adf4f--able-to-do-multi-selection/MultiSelect-test-jcad-diff.png
251 | let main = await page.$('#jp-main-split-panel');
252 | if (main) {
> 253 | expect(await main.screenshot()).toMatchSnapshot({
| ^
254 | name: `MultiSelect-${fileName}.png`
255 | });
256 | }
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:253:41
|
tests/ui.spec.ts:215:9 › UI Test › File operator test › Should be able to do multi selection:
ui-tests/tests/ui.spec.ts#L253
3) tests/ui.spec.ts:215:9 › UI Test › File operator test › Should be able to do multi selection ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
131422 pixels (ratio 0.07 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/MultiSelect-test-jcad-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-adf4f--able-to-do-multi-selection-retry1/MultiSelect-test-jcad-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-adf4f--able-to-do-multi-selection-retry1/MultiSelect-test-jcad-diff.png
251 | let main = await page.$('#jp-main-split-panel');
252 | if (main) {
> 253 | expect(await main.screenshot()).toMatchSnapshot({
| ^
254 | name: `MultiSelect-${fileName}.png`
255 | });
256 | }
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:253:41
|
tests/ui.spec.ts:280:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File:
ui-tests/tests/ui.spec.ts#L293
4) tests/ui.spec.ts:280:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File
Error: Screenshot comparison failed:
Expected an image 706px by 716px, received 958px by 716px. 118562 pixels (ratio 0.18 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/JCAD-New-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-JCAD-crea-0664a-st-should-create-a-CAD-File/JCAD-New-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-JCAD-crea-0664a-st-should-create-a-CAD-File/JCAD-New-diff.png
291 |
292 | if (main) {
> 293 | expect(await main.screenshot()).toMatchSnapshot({
| ^
294 | name: `JCAD-New.png`
295 | });
296 | }
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:293:43
|
tests/ui.spec.ts:280:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File:
ui-tests/tests/ui.spec.ts#L293
4) tests/ui.spec.ts:280:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 706px by 716px, received 958px by 716px. 118553 pixels (ratio 0.18 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/JCAD-New-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-JCAD-crea-0664a-st-should-create-a-CAD-File-retry1/JCAD-New-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-JCAD-crea-0664a-st-should-create-a-CAD-File-retry1/JCAD-New-diff.png
291 |
292 | if (main) {
> 293 | expect(await main.screenshot()).toMatchSnapshot({
| ^
294 | name: `JCAD-New.png`
295 | });
296 | }
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:293:43
|
tests/ui.spec.ts:335:9 › UI Test › Console activation test › should open console:
ui-tests/tests/ui.spec.ts#L350
5) tests/ui.spec.ts:335:9 › UI Test › Console activation test › should open console ──────────────
Error: Screenshot comparison failed:
Expected an image 454px by 716px, received 706px by 716px. 83328 pixels (ratio 0.17 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/JCAD-Console-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-Console-activation-test-should-open-console/JCAD-Console-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-Console-activation-test-should-open-console/JCAD-Console-diff.png
348 |
349 | if (main) {
> 350 | expect(await main.screenshot()).toMatchSnapshot({
| ^
351 | name: `JCAD-Console.png`
352 | });
353 | }
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:350:41
|
tests/ui.spec.ts:335:9 › UI Test › Console activation test › should open console:
ui-tests/tests/ui.spec.ts#L350
5) tests/ui.spec.ts:335:9 › UI Test › Console activation test › should open console ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 454px by 716px, received 706px by 716px. 83322 pixels (ratio 0.17 of all image pixels) are different.
Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/JCAD-Console-linux.png
Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-Console-activation-test-should-open-console-retry1/JCAD-Console-actual.png
Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-Console-activation-test-should-open-console-retry1/JCAD-Console-diff.png
348 |
349 | if (main) {
> 350 | expect(await main.screenshot()).toMatchSnapshot({
| ^
351 | name: `JCAD-Console.png`
352 | });
353 | }
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:350: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/
|
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/
|
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/
|
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/
|
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/
|
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
5 failed
tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle ─────────────────────────────
tests/tree.spec.ts:29:7 › Tree UI test › Should display the object tree ────────────────────────
tests/ui.spec.ts:215:9 › UI Test › File operator test › Should be able to do multi selection ───
tests/ui.spec.ts:280:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File
tests/ui.spec.ts:335:9 › UI Test › Console activation test › should open console ───────────────
10 passed (3.3m)
|
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
|
4.5 MB |
|