Skip to content

Jupyter Collaboration v2 #1036

Jupyter Collaboration v2

Jupyter Collaboration v2 #1036

Triggered via pull request February 8, 2024 09:48
Status Failure
Total duration 7m 52s
Artifacts 2

build.yml

on: pull_request
Build jupytercad
5m 0s
Build jupytercad
Check Links
53s
Check Links
test_isolated
29s
test_isolated
Integration tests
2m 38s
Integration tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 6 warnings, and 1 notice
tests/notebook.spec.ts:67:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct: ui-tests/tests/notebook.spec.ts#L45
1) tests/notebook.spec.ts:67:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct Error: Screenshot comparison failed: Expected an image 656px by 601px, received 656px by 720px. 65605 pixels (ratio 0.14 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts-snapshots/light-Notebook-ipynb-cell-0-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Light-theme-Cell-outputs-should-be-correct/light-Notebook-ipynb-cell-0-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Light-theme-Cell-outputs-should-be-correct/light-Notebook-ipynb-cell-0-diff.png 43 | 44 | for (let c = 0; c < numCellImages; ++c) { > 45 | expect(results[c]).toMatchSnapshot( | ^ 46 | getCaptureImageName(contextPrefix, notebook, c) 47 | ); 48 | } at testCellOutputs (/home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:45:26) at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:71:5
tests/notebook.spec.ts:67:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct: ui-tests/tests/notebook.spec.ts#L45
1) tests/notebook.spec.ts:67:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 656px by 601px, received 656px by 720px. 65605 pixels (ratio 0.14 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts-snapshots/light-Notebook-ipynb-cell-0-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Light-theme-Cell-outputs-should-be-correct-retry1/light-Notebook-ipynb-cell-0-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Light-theme-Cell-outputs-should-be-correct-retry1/light-Notebook-ipynb-cell-0-diff.png 43 | 44 | for (let c = 0; c < numCellImages; ++c) { > 45 | expect(results[c]).toMatchSnapshot( | ^ 46 | getCaptureImageName(contextPrefix, notebook, c) 47 | ); 48 | } at testCellOutputs (/home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:45:26) at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:71:5
tests/notebook.spec.ts:74:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct: ui-tests/tests/notebook.spec.ts#L45
2) tests/notebook.spec.ts:74:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct Error: Screenshot comparison failed: Expected an image 656px by 601px, received 656px by 720px. 105268 pixels (ratio 0.23 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts-snapshots/dark-Notebook-ipynb-cell-0-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Dark-theme-Cell-outputs-should-be-correct/dark-Notebook-ipynb-cell-0-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Dark-theme-Cell-outputs-should-be-correct/dark-Notebook-ipynb-cell-0-diff.png 43 | 44 | for (let c = 0; c < numCellImages; ++c) { > 45 | expect(results[c]).toMatchSnapshot( | ^ 46 | getCaptureImageName(contextPrefix, notebook, c) 47 | ); 48 | } at testCellOutputs (/home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:45:26) at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:78:5
tests/notebook.spec.ts:74:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct: ui-tests/tests/notebook.spec.ts#L45
2) tests/notebook.spec.ts:74:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 656px by 601px, received 656px by 720px. 105268 pixels (ratio 0.23 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts-snapshots/dark-Notebook-ipynb-cell-0-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Dark-theme-Cell-outputs-should-be-correct-retry1/dark-Notebook-ipynb-cell-0-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Dark-theme-Cell-outputs-should-be-correct-retry1/dark-Notebook-ipynb-cell-0-diff.png 43 | 44 | for (let c = 0; c < numCellImages; ++c) { > 45 | expect(results[c]).toMatchSnapshot( | ^ 46 | getCaptureImageName(contextPrefix, notebook, c) 47 | ); 48 | } at testCellOutputs (/home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:45:26) at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/notebook.spec.ts:78:5
tests/ui.spec.ts:51:11 › UI Test › File rendering test › Should be able to render 3M_CONNECTOR.STEP without error: ui-tests/tests/ui.spec.ts#L72
3) tests/ui.spec.ts:51:11 › UI Test › File rendering test › Should be able to render 3M_CONNECTOR.STEP without error Error: Screenshot comparison failed: 1755041 pixels (ratio 0.93 of all image pixels) are different. Expected: /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts-snapshots/Render-3M-CONNECTOR-STEP-linux.png Received: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-rendering-test-Should-be-able-to-render-3M-CONNECTOR-STEP-without-error/Render-3M-CONNECTOR-STEP-actual.png Diff: /home/runner/work/jupytercad/jupytercad/ui-tests/test-results/tests-ui-UI-Test-File-rendering-test-Should-be-able-to-render-3M-CONNECTOR-STEP-without-error/Render-3M-CONNECTOR-STEP-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:51:11 › UI Test › File rendering test › Should be able to render 3M_CONNECTOR.STEP without error: ui-tests/tests/ui.spec.ts#L70
3) tests/ui.spec.ts:51:11 › UI Test › File rendering test › Should be able to render 3M_CONNECTOR.STEP without error Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 68 | await page.waitForTimeout(1000); 69 | const main = await page.$('#jp-main-split-panel'); > 70 | expect(errors).toBe(0); | ^ 71 | if (main) { 72 | expect(await main.screenshot()).toMatchSnapshot({ 73 | name: `Render-${file}.png`, at /home/runner/work/jupytercad/jupytercad/ui-tests/tests/ui.spec.ts:70:24
Integration tests
Process completed with exit code 1.
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
3 failed tests/notebook.spec.ts:67:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct tests/notebook.spec.ts:74:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct tests/ui.spec.ts:51:11 › UI Test › File rendering test › Should be able to render 3M_CONNECTOR.STEP without error 9 passed (1.6m)

Artifacts

Produced during runtime
Name Size
extension-artifacts Expired
22.9 MB
jupytercad-playwright-tests Expired
8.32 MB