Add CI #4
build.yml
on: pull_request
Build jupytergis
3m 35s
Check Links
37s
test_isolated
27s
deploy
0s
Annotations
11 errors, 7 warnings, and 1 notice
Check Links
Process completed with exit code 1.
|
tests/notebook.spec.ts:71:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct:
ui-tests/tests/notebook.spec.ts#L20
1) tests/notebook.spec.ts:71:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct
Error: page.evaluate: Execution context was destroyed, most likely because of a navigation.
18 |
19 | await page.notebook.openByPath(`${tmpPath}/${notebook}`);
> 20 | await page.notebook.activate(notebook);
| ^
21 |
22 | await page.waitForTimeout(1000);
23 | if (await page.getByRole('button', { name: 'Ok' }).isVisible()) {
at NotebookHelper.activate (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:211:23)
at testCellOutputs (/home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:20:5)
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:75:5
|
tests/notebook.spec.ts:71:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct:
ui-tests/tests/notebook.spec.ts#L49
1) tests/notebook.spec.ts:71:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
223134 pixels (ratio 0.57 of all image pixels) are different.
Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts-snapshots/light-Notebook-ipynb-cell-0-linux.png
Received: /home/runner/work/jupytergis/jupytergis/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/jupytergis/jupytergis/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
47 |
48 | for (let c = 0; c < numCellImages; ++c) {
> 49 | expect(results[c]).toMatchSnapshot(
| ^
50 | getCaptureImageName(contextPrefix, notebook, c)
51 | );
52 | }
at testCellOutputs (/home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:49:26)
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:75:5
|
tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct:
ui-tests/tests/notebook.spec.ts#L49
2) tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct
Error: Screenshot comparison failed:
336303 pixels (ratio 0.86 of all image pixels) are different.
Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts-snapshots/dark-Notebook-ipynb-cell-0-linux.png
Received: /home/runner/work/jupytergis/jupytergis/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/jupytergis/jupytergis/ui-tests/test-results/tests-notebook-Notebook-API-Visual-Regression-Dark-theme-Cell-outputs-should-be-correct/dark-Notebook-ipynb-cell-0-diff.png
47 |
48 | for (let c = 0; c < numCellImages; ++c) {
> 49 | expect(results[c]).toMatchSnapshot(
| ^
50 | getCaptureImageName(contextPrefix, notebook, c)
51 | );
52 | }
at testCellOutputs (/home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:49:26)
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:82:5
|
tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct:
ui-tests/tests/notebook.spec.ts#L49
2) tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
336303 pixels (ratio 0.86 of all image pixels) are different.
Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts-snapshots/dark-Notebook-ipynb-cell-0-linux.png
Received: /home/runner/work/jupytergis/jupytergis/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/jupytergis/jupytergis/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
47 |
48 | for (let c = 0; c < numCellImages; ++c) {
> 49 | expect(results[c]).toMatchSnapshot(
| ^
50 | getCaptureImageName(contextPrefix, notebook, c)
51 | );
52 | }
at testCellOutputs (/home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:49:26)
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:82:5
|
tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog:
ui-tests/tests/sketcher.spec.ts#L1
3) tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog ─────────────────
Test timeout of 60000ms exceeded.
|
tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog:
ui-tests/tests/sketcher.spec.ts#L1
3) tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog ─────────────────
Error: page.$: Target page, context or browser has been closed
at FileBrowserHelper.isFileListedInBrowser (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/helpers/filebrowser.ts:69:34)
at /home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/helpers/filebrowser.ts:58:25
at Timeout.check (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:166:33)
|
tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog:
ui-tests/tests/sketcher.spec.ts#L1
3) tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog:
ui-tests/tests/sketcher.spec.ts#L1
3) tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.$: Target page, context or browser has been closed
at FileBrowserHelper.isFileListedInBrowser (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/helpers/filebrowser.ts:69:34)
at /home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/helpers/filebrowser.ts:58:25
at Timeout.check (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:166:33)
|
tests/sketcher.spec.ts:57:7 › Sketcher test › Should draw a circle:
ui-tests/tests/sketcher.spec.ts#L1
4) tests/sketcher.spec.ts:57:7 › Sketcher test › Should draw a circle ────────────────────────────
Test timeout of 60000ms exceeded.
|
tests/sketcher.spec.ts:57:7 › Sketcher test › Should draw a circle:
ui-tests/tests/sketcher.spec.ts#L1
4) tests/sketcher.spec.ts:57:7 › Sketcher test › Should draw a circle ────────────────────────────
Error: page.$: Target page, context or browser has been closed
at FileBrowserHelper.isFileListedInBrowser (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/helpers/filebrowser.ts:69:34)
at /home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/helpers/filebrowser.ts:58:25
at Timeout.check (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:166:33)
|
Check Links
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build jupytergis
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 jupytergis
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 jupytergis
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/.
|
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", "jupytergis-playwright-tests".
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
13 failed
tests/notebook.spec.ts:71:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct
tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct
tests/sketcher.spec.ts:28:7 › Sketcher test › Should open the sketcher dialog ──────────────────
tests/sketcher.spec.ts:57:7 › Sketcher test › Should draw a circle ─────────────────────────────
tests/tree.spec.ts:28:7 › Tree UI test › Should display the object tree ────────────────────────
tests/ui.spec.ts:10:9 › UI Test › Extension activation test › should emit an activation console message
tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render test.jcad without error
tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render 3M_CONNECTOR.STEP without error
tests/ui.spec.ts:51:11 › UI Test › File operations › Should be able to render fan.stl without error
tests/ui.spec.ts:106:9 › UI Test › File operator test › Should be able to add object to scene ──
tests/ui.spec.ts:148:9 › UI Test › File operator test › Should be able to remove object ────────
tests/ui.spec.ts:186:9 › UI Test › File operator test › Should be able to edit object ──────────
tests/ui.spec.ts:234:9 › UI Test › File operator test › Should be able to do multi selection ───
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
extension-artifacts
Expired
|
2.92 MB |
|
jupytergis-playwright-tests
Expired
|
27 MB |
|