Skip to content

Step file export to .jcad #1015

Step file export to .jcad

Step file export to .jcad #1015

Triggered via pull request February 6, 2024 14:36
Status Failure
Total duration 21m 2s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 6 warnings, and 1 notice
tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog: ui-tests/tests/sketcher.spec.ts#L1
1) tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog ───────────────── Test timeout of 60000ms exceeded.
tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog: ui-tests/tests/sketcher.spec.ts#L46
1) tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog ───────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for locator('button.jp-ToolbarButtonComponent[data-command=\'jupytercad:sketch\']') ============================================================ 44 | "button.jp-ToolbarButtonComponent[data-command='jupytercad:sketch']" 45 | ); > 46 | await btn.click(); | ^ 47 | const dialog = await page.$('.lm-Widget.lm-Panel.jp-Dialog-content'); 48 | if (dialog) { 49 | expect(await dialog.screenshot()).toMatchSnapshot({ at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/sketcher.spec.ts:46:15
tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog: ui-tests/tests/sketcher.spec.ts#L1
1) tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog: ui-tests/tests/sketcher.spec.ts#L46
1) tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for locator('button.jp-ToolbarButtonComponent[data-command=\'jupytercad:sketch\']') ============================================================ 44 | "button.jp-ToolbarButtonComponent[data-command='jupytercad:sketch']" 45 | ); > 46 | await btn.click(); | ^ 47 | const dialog = await page.$('.lm-Widget.lm-Panel.jp-Dialog-content'); 48 | if (dialog) { 49 | expect(await dialog.screenshot()).toMatchSnapshot({ at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/sketcher.spec.ts:46:15
tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle: ui-tests/tests/sketcher.spec.ts#L1
2) tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle ──────────────────────────── Test timeout of 60000ms exceeded.
tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle: ui-tests/tests/sketcher.spec.ts#L74
2) tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle ──────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for locator('button.jp-ToolbarButtonComponent[data-command=\'jupytercad:sketch\']') ============================================================ 72 | "button.jp-ToolbarButtonComponent[data-command='jupytercad:sketch']" 73 | ); > 74 | await btn.click(); | ^ 75 | await page.getByRole('button', { name: 'CIRCLE' }).click(); 76 | await page 77 | .locator('canvas') at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/sketcher.spec.ts:74:15
tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle: ui-tests/tests/sketcher.spec.ts#L1
2) tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle: ui-tests/tests/sketcher.spec.ts#L74
2) tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for locator('button.jp-ToolbarButtonComponent[data-command=\'jupytercad:sketch\']') ============================================================ 72 | "button.jp-ToolbarButtonComponent[data-command='jupytercad:sketch']" 73 | ); > 74 | await btn.click(); | ^ 75 | await page.getByRole('button', { name: 'CIRCLE' }).click(); 76 | await page 77 | .locator('canvas') at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/sketcher.spec.ts:74:15
tests/tree.spec.ts:28:7 › Tree UI test › Should display the object tree: ui-tests/tests/tree.spec.ts#L57
3) tests/tree.spec.ts:28:7 › Tree UI test › Should display the object tree ─────────────────────── Error: Screenshot comparison failed: Expected an image 250px by 495px, received 250px by 492px. 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 55 | }); 56 | if (tree) { > 57 | expect(await tree.screenshot()).toMatchSnapshot({ | ^ 58 | name: `Tree-Display-${fileName}.png`, 59 | maxDiffPixelRatio: 0.01 60 | }); at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/tree.spec.ts:57:39
tests/tree.spec.ts:28:7 › Tree UI test › Should display the object tree: ui-tests/tests/tree.spec.ts#L57
3) tests/tree.spec.ts:28:7 › Tree UI test › Should display the object tree ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 250px by 495px, received 250px by 492px. 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 55 | }); 56 | if (tree) { > 57 | expect(await tree.screenshot()).toMatchSnapshot({ | ^ 58 | name: `Tree-Display-${fileName}.png`, 59 | maxDiffPixelRatio: 0.01 60 | }); at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/tree.spec.ts:57:39
Check Links
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build jupytercad
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 `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
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/.
🎭 Playwright Run Summary
6 failed tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog ────────────────── tests/sketcher.spec.ts:56:7 › Sketcher test › Should draw a circle ───────────────────────────── tests/tree.spec.ts:28:7 › Tree UI test › Should display the object tree ──────────────────────── tests/ui.spec.ts:80:9 › UI Test › File operations › Should be able to do export .STEP to .jcad ─ tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to add object to scene ── tests/ui.spec.ts:275:9 › UI Test › File operator test › Should be able to do multi selection ─── 7 passed (6.6m)

Artifacts

Produced during runtime
Name Size
extension-artifacts Expired
22.6 MB
jupytercad-playwright-tests Expired
9.2 MB