Skip to content

Allow opening JupyterCAD documents with the JSON viewer + Allow opening STL and STEP in JupyterLite #1824

Allow opening JupyterCAD documents with the JSON viewer + Allow opening STL and STEP in JupyterLite

Allow opening JupyterCAD documents with the JSON viewer + Allow opening STL and STEP in JupyterLite #1824

Triggered via pull request October 23, 2024 17:02
Status Failure
Total duration 8m 24s
Artifacts 4

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 8 warnings, and 1 notice
tests/ui.spec.ts:360:9 › UI Test › Console activation test › should open console: ui-tests/tests/ui.spec.ts#L374
1) tests/ui.spec.ts:360:9 › UI Test › Console activation test › should open console ────────────── Error: Screenshot comparison failed: 54757 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 372 | 373 | if (main) { > 374 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 375 | name: `JCAD-Console.png` 376 | }); 377 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:374:41
tests/ui.spec.ts:360:9 › UI Test › Console activation test › should open console: ui-tests/tests/ui.spec.ts#L374
1) tests/ui.spec.ts:360:9 › UI Test › Console activation test › should open console ────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 54806 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 372 | 373 | if (main) { > 374 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 375 | name: `JCAD-Console.png` 376 | }); 377 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:374:41
tests/ui.spec.ts:52:11 › UI Test › File operations › Should be able to render fan.stl without error: ui-tests/tests/ui.spec.ts#L74
2) tests/ui.spec.ts:52:11 › UI Test › File operations › Should be able to render fan.stl without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 72 | await page.waitForTimeout(1000); 73 | const main = await page.$('#jp-main-split-panel'); > 74 | expect(errors).toBe(0); | ^ 75 | if (main) { 76 | expect(await main.screenshot()).toMatchSnapshot({ 77 | name: `Render-${file}.png`, at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:74:24
Integration tests
Process completed with exit code 1.
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
1 failed tests/ui.spec.ts:360:9 › UI Test › Console activation test › should open console ─────────────── 1 flaky tests/ui.spec.ts:52:11 › UI Test › File operations › Should be able to render fan.stl without error 13 passed (2.6m)

Artifacts

Produced during runtime
Name Size
appsharingspace
355 Bytes
extension-artifacts
24.7 MB
galata-apss
355 Bytes
jupytercad-playwright-tests
1.36 MB