Skip to content

WIP: Add ViewHelper #1566

WIP: Add ViewHelper

WIP: Add ViewHelper #1566

Triggered via pull request September 28, 2024 17:42
Status Failure
Total duration 8m 48s
Artifacts 5

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 8 warnings, and 1 notice
tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to remove object: ui-tests/tests/ui.spec.ts#L183
1) tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to remove object ─────── Error: Screenshot comparison failed: 25061 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Operator-Remove-test-jcad-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-ec544-ld-be-able-to-remove-object/Operator-Remove-test-jcad-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-ec544-ld-be-able-to-remove-object/Operator-Remove-test-jcad-diff.png 181 | const main = await page.$('#jp-main-split-panel'); 182 | if (main) { > 183 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 184 | name: `Operator-Remove-${fileName}.png`, 185 | maxDiffPixelRatio: 0.01 186 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:183:41
tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to remove object: ui-tests/tests/ui.spec.ts#L183
1) tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to remove object ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 25061 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts-snapshots/Operator-Remove-test-jcad-linux.png Received: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-ec544-ld-be-able-to-remove-object-retry1/Operator-Remove-test-jcad-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-File-oper-ec544-ld-be-able-to-remove-object-retry1/Operator-Remove-test-jcad-diff.png 181 | const main = await page.$('#jp-main-split-panel'); 182 | if (main) { > 183 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 184 | name: `Operator-Remove-${fileName}.png`, 185 | maxDiffPixelRatio: 0.01 186 | }); at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:183: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
2) tests/ui.spec.ts:238:9 › UI Test › File operator test › Should be able to do multi selection ── Error: Screenshot comparison failed: 12570 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
2) tests/ui.spec.ts:238:9 › UI Test › File operator test › Should be able to do multi selection ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 12570 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 new JCAD file: ui-tests/tests/ui.spec.ts#L320
3) tests/ui.spec.ts:303:11 › UI Test › JCAD creation test › Extension activation test › should create a new JCAD file Error: Screenshot comparison failed: 2096 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-49b4d-ould-create-a-new-JCAD-file/JCAD-New-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-JCAD-crea-49b4d-ould-create-a-new-JCAD-file/JCAD-New-diff.png 318 | 319 | if (main) { > 320 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 321 | name: `JCAD-New.png` 322 | }); 323 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:320:43
tests/ui.spec.ts:303:11 › UI Test › JCAD creation test › Extension activation test › should create a new JCAD file: ui-tests/tests/ui.spec.ts#L320
3) tests/ui.spec.ts:303:11 › UI Test › JCAD creation test › Extension activation test › should create a new JCAD file Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 2103 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-49b4d-ould-create-a-new-JCAD-file-retry1/JCAD-New-actual.png Diff: /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/test-results/tests-ui-UI-Test-JCAD-crea-49b4d-ould-create-a-new-JCAD-file-retry1/JCAD-New-diff.png 318 | 319 | if (main) { > 320 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 321 | name: `JCAD-New.png` 322 | }); 323 | } at /home/runner/work/JupyterCAD/JupyterCAD/ui-tests/tests/ui.spec.ts:320:43
Integration tests
Process completed with exit code 1.
🎭 Playwright Run Summary
3 failed tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to remove object ──────── 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 new JCAD file 12 passed (2.8m)
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/

Artifacts

Produced during runtime
Name Size
appsharingspace
355 Bytes
extension-artifacts
26.1 MB
galata-apss
355 Bytes
github-pages
28.8 MB
jupytercad-playwright-tests
2.7 MB