Skip to content

Replace @jupyterlab/rjsf with FormComponent from @jupyterlab/ui-components #2203

Replace @jupyterlab/rjsf with FormComponent from @jupyterlab/ui-components

Replace @jupyterlab/rjsf with FormComponent from @jupyterlab/ui-components #2203

Triggered via pull request December 5, 2024 10:21
Status Failure
Total duration 11m 59s
Artifacts 5

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 8 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: 12539 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: 12539 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 373px, 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 373px, 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:213:9 › UI Test › File operator test › Should be able to do multi selection: ui-tests/tests/ui.spec.ts#L269
3) tests/ui.spec.ts:213:9 › UI Test › File operator test › Should be able to do multi selection ── Error: Screenshot comparison failed: 14890 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/MultiSelect-Cut-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-Cut-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-Cut-test-jcad-diff.png 267 | main = await page.$('#jp-main-split-panel'); 268 | if (main) { > 269 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 270 | name: `MultiSelect-Cut-${fileName}.png` 271 | }); 272 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:269:41
tests/ui.spec.ts:213:9 › UI Test › File operator test › Should be able to do multi selection: ui-tests/tests/ui.spec.ts#L269
3) tests/ui.spec.ts:213:9 › UI Test › File operator test › Should be able to do multi selection ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 14890 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/MultiSelect-Cut-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-Cut-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-Cut-test-jcad-diff.png 267 | main = await page.$('#jp-main-split-panel'); 268 | if (main) { > 269 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 270 | name: `MultiSelect-Cut-${fileName}.png` 271 | }); 272 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:269:41
tests/ui.spec.ts:364:9 › UI Test › Console activation test › should open console: ui-tests/tests/ui.spec.ts#L379
4) tests/ui.spec.ts:364:9 › UI Test › Console activation test › should open console ────────────── Error: Screenshot comparison failed: 1652 pixels (ratio 0.01 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 377 | 378 | if (main) { > 379 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 380 | name: `JCAD-Console.png` 381 | }); 382 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:379:41
tests/ui.spec.ts:364:9 › UI Test › Console activation test › should open console: ui-tests/tests/ui.spec.ts#L379
4) tests/ui.spec.ts:364:9 › UI Test › Console activation test › should open console ────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 1650 pixels (ratio 0.01 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 377 | 378 | if (main) { > 379 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 380 | name: `JCAD-Console.png` 381 | }); 382 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:379:41
Integration tests
Process completed with exit code 1.
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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build jupytercad
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build JupyterLite
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
4 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:213:9 › UI Test › File operator test › Should be able to do multi selection ─── tests/ui.spec.ts:364:9 › UI Test › Console activation test › should open console ─────────────── 12 passed (3.7m)

Artifacts

Produced during runtime
Name Size
appsharingspace
354 Bytes
extension-artifacts
20.6 MB
galata-apss
355 Bytes
github-pages
33.6 MB
jupytercad-playwright-tests
4.74 MB