Add Translation Controls #1799
build.yml
on: pull_request
Build jupytercad
4m 36s
Check Links
1m 19s
test_isolated
26s
deploy
0s
Annotations
9 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#L272
1) tests/ui.spec.ts:238:9 › UI Test › File operator test › Should be able to do multi selection ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: locator('[data-test-id="react-tree-root"]').getByText('box2') resolved to 2 elements:
1) <span>box2</span> aka getByText('box2').first()
2) <span>box2</span> aka getByText('box2').nth(1)
Call log:
- waiting for locator('[data-test-id="react-tree-root"]').getByText('box2')
270 | .locator('[data-test-id="react-tree-root"]')
271 | .getByText('box2')
> 272 | .click();
| ^
273 |
274 | let main = await page.$('#jp-main-split-panel');
275 | if (main) {
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:272:10
|
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 3M_CONNECTOR.STEP 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 3M_CONNECTOR.STEP without error
Test timeout of 60000ms exceeded.
|
tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render 3M_CONNECTOR.STEP 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 3M_CONNECTOR.STEP 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 3M_CONNECTOR.STEP Unexpected token 'I', "ISO-10303-"... 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 3M_CONNECTOR.STEP Unexpected token 'I', "ISO-10303-"... 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 3M_CONNECTOR.STEP Unexpected token 'I', "ISO-10303-"... 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 3M_CONNECTOR.STEP Unexpected token 'I', "ISO-10303-"... 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 3M_CONNECTOR.STEP Unexpected token 'I', "ISO-10303-"... 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 3M_CONNECTOR.STEP Unexpected token 'I', "ISO-10303-"... 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 3M_CONNECTOR.STEP Unexpected token 'I', "ISO-10303-"... 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 3M_CONNECTOR.STEP Unexpected token 'I', "ISO-10303-"... is not valid JSON">…</dialog> intercepts pointer events
- retryi
|
tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to remove object:
ui-tests/tests/ui.spec.ts#L159
4) tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to remove object ───────
Error: locator.click: Error: strict mode violation: locator('[data-test-id="react-tree-root"]').getByText('box2') resolved to 2 elements:
1) <span>box2</span> aka getByText('box2').first()
2) <span>box2</span> aka getByText('box2').nth(1)
Call log:
- waiting for locator('[data-test-id="react-tree-root"]').getByText('box2')
157 | .locator('[data-test-id="react-tree-root"]')
158 | .getByText('box2')
> 159 | .click();
| ^
160 | await page
161 | .locator('[data-test-id="react-tree-root"]')
162 | .getByRole('button')
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:159:10
|
tests/ui.spec.ts:190:9 › UI Test › File operator test › Should be able to edit object:
ui-tests/tests/ui.spec.ts#L202
5) tests/ui.spec.ts:190:9 › UI Test › File operator test › Should be able to edit object ─────────
Error: locator.click: Error: strict mode violation: locator('[data-test-id="react-tree-root"]').getByText('box2') resolved to 2 elements:
1) <span>box2</span> aka getByText('box2').first()
2) <span>box2</span> aka getByText('box2').nth(1)
Call log:
- waiting for locator('[data-test-id="react-tree-root"]').getByText('box2')
200 | .locator('[data-test-id="react-tree-root"]')
201 | .getByText('box2')
> 202 | .click();
| ^
203 | await page
204 | .locator('[data-test-id="react-tree-root"]')
205 | .getByText('Shape')
at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:202:10
|
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
3 flaky
tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render 3M_CONNECTOR.STEP without error
tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to remove object ────────
tests/ui.spec.ts:190:9 › UI Test › File operator test › Should be able to edit object ──────────
10 passed (3.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
appsharingspace
|
355 Bytes |
|
extension-artifacts
|
24.6 MB |
|
galata-apss
|
355 Bytes |
|
jupytercad-playwright-tests
|
3.42 MB |
|