Skip to content

Add Translation Controls #1808

Add Translation Controls

Add Translation Controls #1808

Triggered via pull request October 23, 2024 13:10
Status Failure
Total duration 9m 39s
Artifacts 4

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 8 warnings, and 1 notice
tests/ui.spec.ts:238:9 › UI Test › File operator test › Should be able to do multi selection: ui-tests/tests/ui.spec.ts#L276
1) tests/ui.spec.ts:238:9 › UI Test › File operator test › Should be able to do multi selection ── Error: Screenshot comparison failed: 4706 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/MultiSelect-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-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-test-jcad-diff.png 274 | let main = await page.$('#jp-main-split-panel'); 275 | if (main) { > 276 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 277 | name: `MultiSelect-${fileName}.png` 278 | }); 279 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:276:41
tests/ui.spec.ts:238:9 › UI Test › File operator test › Should be able to do multi selection: ui-tests/tests/ui.spec.ts#L276
1) tests/ui.spec.ts:238:9 › UI Test › File operator test › Should be able to do multi selection ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 4706 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/MultiSelect-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-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-test-jcad-diff.png 274 | let main = await page.$('#jp-main-split-panel'); 275 | if (main) { > 276 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 277 | name: `MultiSelect-${fileName}.png` 278 | }); 279 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:276:41
tests/ui.spec.ts:303:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File: ui-tests/tests/ui.spec.ts#L317
2) tests/ui.spec.ts:303:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File Error: Screenshot comparison failed: 2093 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/JCAD-New-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-JCAD-crea-0664a-st-should-create-a-CAD-File/JCAD-New-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-JCAD-crea-0664a-st-should-create-a-CAD-File/JCAD-New-diff.png 315 | 316 | if (main) { > 317 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 318 | name: `JCAD-New.png` 319 | }); 320 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:317:43
tests/ui.spec.ts:303:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File: ui-tests/tests/ui.spec.ts#L317
2) tests/ui.spec.ts:303:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 2113 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/JCAD-New-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-JCAD-crea-0664a-st-should-create-a-CAD-File-retry1/JCAD-New-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-JCAD-crea-0664a-st-should-create-a-CAD-File-retry1/JCAD-New-diff.png 315 | 316 | if (main) { > 317 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 318 | name: `JCAD-New.png` 319 | }); 320 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:317:43
tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render fan.stl without error: ui-tests/tests/ui.spec.ts#L1
3) tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render fan.stl without error Test timeout of 60000ms exceeded.
tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render fan.stl without error: ui-tests/tests/ui.spec.ts#L66
3) tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render fan.stl without error 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" aria-label="File Load Error for fan.stl Unexpected token 's', "solid CATI"... is not valid JSON">…</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" aria-label="File Load Error for fan.stl Unexpected token 's', "solid CATI"... is not valid JSON">…</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" aria-label="File Load Error for fan.stl Unexpected token 's', "solid CATI"... is not valid JSON">…</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" aria-label="File Load Error for fan.stl Unexpected token 's', "solid CATI"... is not valid JSON">…</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" aria-label="File Load Error for fan.stl Unexpected token 's', "solid CATI"... is not valid JSON">…</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" aria-label="File Load Error for fan.stl Unexpected token 's', "solid CATI"... is not valid JSON">…</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" aria-label="File Load Error for fan.stl Unexpected token 's', "solid CATI"... is not valid JSON">…</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" aria-label="File Load Error for fan.stl Unexpected token 's', "solid CATI"... is not valid JSON">…</dialog> intercepts pointer events - retrying click action, attempt #8 - waiting 500ms - waiting for element to be vi
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
2 failed tests/ui.spec.ts:238:9 › UI Test › File operator test › Should be able to do multi selection ─── tests/ui.spec.ts:303:11 › UI Test › JCAD creation test › Extension activation test › should create a CAD File 1 flaky tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render fan.stl without error 12 passed (3.6m)

Artifacts

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