Skip to content

Update worker and 3D viewer #957

Update worker and 3D viewer

Update worker and 3D viewer #957

Triggered via pull request December 15, 2023 10:16
Status Failure
Total duration 18m 19s
Artifacts 2

build.yml

on: pull_request
test_isolated
25s
test_isolated
Integration tests
5m 9s
Integration tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 4 warnings, and 1 notice
tests/ui.spec.ts:51:11 › UI Test › File rendering test › Should be able to render test.jcad without error: ui-tests/tests/ui.spec.ts#L72
1) tests/ui.spec.ts:51:11 › UI Test › File rendering test › Should be able to render test.jcad without error Error: Screenshot comparison failed: 19352 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts-snapshots/Render-test-jcad-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-rendering-test-Should-be-able-to-render-test-jcad-without-error/Render-test-jcad-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-rendering-test-Should-be-able-to-render-test-jcad-without-error/Render-test-jcad-diff.png 70 | expect(errors).toBe(0); 71 | if (main) { > 72 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 73 | name: `Render-${file}.png`, 74 | maxDiffPixelRatio: 0.01 75 | }); at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts:72:43
tests/ui.spec.ts:144:9 › UI Test › File operator test › Should be able to remove object: ui-tests/tests/ui.spec.ts#L1
2) tests/ui.spec.ts:144:9 › UI Test › File operator test › Should be able to remove object ─────── Test timeout of 60000ms exceeded.
tests/ui.spec.ts:144:9 › UI Test › File operator test › Should be able to remove object: ui-tests/tests/ui.spec.ts#L155
2) tests/ui.spec.ts:144:9 › UI Test › File operator test › Should be able to remove object ─────── Error: locator.click: Page closed =========================== logs =========================== waiting for locator('[data-test-id="react-tree-root"]').getByText('box2') ============================================================ 153 | .locator('[data-test-id="react-tree-root"]') 154 | .getByText('box2') > 155 | .click(); | ^ 156 | await page 157 | .locator('[data-test-id="react-tree-root"]') 158 | .getByRole('button') at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts:155:10
tests/ui.spec.ts:182:9 › UI Test › File operator test › Should be able to edit object: ui-tests/tests/ui.spec.ts#L1
3) tests/ui.spec.ts:182:9 › UI Test › File operator test › Should be able to edit object ───────── Test timeout of 60000ms exceeded.
tests/ui.spec.ts:182:9 › UI Test › File operator test › Should be able to edit object: ui-tests/tests/ui.spec.ts#L194
3) tests/ui.spec.ts:182:9 › UI Test › File operator test › Should be able to edit object ───────── Error: locator.click: Page closed =========================== logs =========================== waiting for locator('[data-test-id="react-tree-root"]').getByText('box2') ============================================================ 192 | .locator('[data-test-id="react-tree-root"]') 193 | .getByText('box2') > 194 | .click(); | ^ 195 | await page 196 | .locator('[data-test-id="react-tree-root"]') 197 | .getByText('Shape') at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts:194:10
tests/ui.spec.ts:230:9 › UI Test › File operator test › Should be able to do multi selection: ui-tests/tests/ui.spec.ts#L1
4) tests/ui.spec.ts:230:9 › UI Test › File operator test › Should be able to do multi selection ── Test timeout of 60000ms exceeded.
tests/ui.spec.ts:230:9 › UI Test › File operator test › Should be able to do multi selection: ui-tests/tests/ui.spec.ts#L267
4) tests/ui.spec.ts:230:9 › UI Test › File operator test › Should be able to do multi selection ── Error: locator.click: Page closed =========================== logs =========================== waiting for locator('[data-test-id="react-tree-root"]').getByText('box2') ============================================================ 265 | .locator('[data-test-id="react-tree-root"]') 266 | .getByText('box2') > 267 | .click(); | ^ 268 | 269 | let main = await page.$('#jp-main-split-panel'); 270 | if (main) { at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts:267:10
Integration tests
Process completed with exit code 1.
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/
Build jupytercad
This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See `https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba` for a migration guide.
Integration tests
This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See `https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba` for a migration guide.
🎭 Playwright Run Summary
4 failed tests/ui.spec.ts:51:11 › UI Test › File rendering test › Should be able to render test.jcad without error tests/ui.spec.ts:144:9 › UI Test › File operator test › Should be able to remove object ──────── tests/ui.spec.ts:182:9 › UI Test › File operator test › Should be able to edit object ────────── tests/ui.spec.ts:230:9 › UI Test › File operator test › Should be able to do multi selection ─── 8 passed (4.1m)

Artifacts

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