Skip to content

Update JupyterCAD

Update JupyterCAD #35

Triggered via pull request July 2, 2024 08:08
Status Failure
Total duration 7m 1s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 5 warnings, and 1 notice
tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example5.FCStd without error: ui-tests/tests/ui.spec.ts#L83
1) tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example5.FCStd without error Error: Screenshot comparison failed: 101706 pixels (ratio 0.06 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts-snapshots/Render-example5-FCStd-linux.png Received: /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/test-results/tests-ui-UI-Test-File-rend-4e553-xample5-FCStd-without-error/Render-example5-FCStd-actual.png Diff: /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/test-results/tests-ui-UI-Test-File-rend-4e553-xample5-FCStd-without-error/Render-example5-FCStd-diff.png 81 | expect(errors).toBe(0); 82 | if (main) { > 83 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 84 | name: `Render-${file}.png`, 85 | maxDiffPixelRatio: 0.01 86 | }); at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:83:43
tests/ui.spec.ts:154:9 › UI Test › File operator test › Should be able to remove object: ui-tests/tests/ui.spec.ts#L1
2) tests/ui.spec.ts:154:9 › UI Test › File operator test › Should be able to remove object ─────── Test timeout of 60000ms exceeded.
tests/ui.spec.ts:154:9 › UI Test › File operator test › Should be able to remove object: ui-tests/tests/ui.spec.ts#L175
2) tests/ui.spec.ts:154:9 › UI Test › File operator test › Should be able to remove object ─────── Error: locator.click: Test timeout of 60000ms exceeded. Call log: - waiting for getByRole('tablist', { name: 'main sidebar' }).getByRole('tab', { name: 'JupyterCad Control Panel' }) - locator resolved to <li role="tab" tabindex="-1" id="tab-key-1-6" aria-selected="true" title="JupyterCad Control Panel" class="lm-TabBar-tab lm-mod-current" data-id="jupytercad::leftControlPanel">…</li> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog aria-modal="true" class="lm-Widget jp-Dialog">…</dialog> intercepts pointer events - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog aria-modal="true" class="lm-Widget jp-Dialog">…</dialog> intercepts pointer events - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog aria-modal="true" class="lm-Widget jp-Dialog">…</dialog> intercepts pointer events - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog aria-modal="true" class="lm-Widget jp-Dialog">…</dialog> intercepts pointer events - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog aria-modal="true" class="lm-Widget jp-Dialog">…</dialog> intercepts pointer events - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog aria-modal="true" class="lm-Widget jp-Dialog">…</dialog> intercepts pointer events - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog aria-modal="true" class="lm-Widget jp-Dialog">…</dialog> intercepts pointer events - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog aria-modal="true" class="lm-Widget jp-Dialog">…</dialog> intercepts pointer events - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog aria-modal="true" class="lm-Widget jp-Dialog">…</dialog> intercepts pointer events - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog aria-modal="true" class="lm-Widget jp-Dialog">…</dialog> intercepts pointer events - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrol
Integration tests
Process completed with exit code 1.
Check Links
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test_isolated
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Integration tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/download-artifact@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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", "jupytercad-playwright-tests". 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
2 failed tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example5.FCStd without error tests/ui.spec.ts:154:9 › UI Test › File operator test › Should be able to remove object ──────── 12 passed (2.7m)

Artifacts

Produced during runtime
Name Size
extension-artifacts Expired
852 KB
jupytercad-playwright-tests Expired
2.49 MB