Skip to content

Add CI

Add CI #5

Triggered via pull request June 12, 2024 09:54
Status Failure
Total duration 9m 41s
Artifacts 2

build.yml

on: pull_request
Build jupytergis
3m 44s
Build jupytergis
Check Links
42s
Check Links
Integration tests
5m 36s
Integration tests
test_isolated
29s
test_isolated
Build JupyterLite
0s
Build JupyterLite
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 7 warnings, and 1 notice
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 Error: A snapshot doesn't exist at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts-snapshots/light-Notebook-ipynb-cell-0-linux.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: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: A snapshot doesn't exist at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts-snapshots/light-Notebook-ipynb-cell-0-linux.png, writing actual. 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: A snapshot doesn't exist at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts-snapshots/dark-Notebook-ipynb-cell-0-linux.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: A snapshot doesn't exist at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts-snapshots/dark-Notebook-ipynb-cell-0-linux.png, writing actual. 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
6 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:33:11 › UI Test › File operations › Should be able to render test.jGIS without error

Artifacts

Produced during runtime
Name Size
extension-artifacts Expired
2.92 MB
jupytergis-playwright-tests Expired
13.2 MB