Skip to content

Color ramps and classification #706

Color ramps and classification

Color ramps and classification #706

Triggered via pull request October 21, 2024 08:21
Status Failure
Total duration 11m 19s
Artifacts 5

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 10 warnings, and 1 notice
tests/left-panel.spec.ts:156:9 › #layerPanel › with GIS document › should hide the top raster layer: ui-tests/tests/left-panel.spec.ts#L166
1) tests/left-panel.spec.ts:156:9 › #layerPanel › with GIS document › should hide the top raster layer Error: Screenshot comparison failed: 119603 pixels (ratio 0.42 of all image pixels) are different. Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts-snapshots/top-layer-not-hidden-linux.png Received: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-left-panel--layerPanel-with-GIS-document-should-hide-the-top-raster-layer/top-layer-not-hidden-actual.png Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-left-panel--layerPanel-with-GIS-document-should-hide-the-top-raster-layer/top-layer-not-hidden-diff.png 164 | 165 | // Wait for the map to be displayed. > 166 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 167 | name: 'top-layer-not-hidden.png', 168 | maxDiffPixelRatio: 0.01 169 | }); at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts:166:39
tests/left-panel.spec.ts:156:9 › #layerPanel › with GIS document › should hide the top raster layer: ui-tests/tests/left-panel.spec.ts#L166
1) tests/left-panel.spec.ts:156:9 › #layerPanel › with GIS document › should hide the top raster layer Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 137416 pixels (ratio 0.49 of all image pixels) are different. Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts-snapshots/top-layer-not-hidden-linux.png Received: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-left-panel--layerPanel-with-GIS-document-should-hide-the-top-raster-layer-retry1/top-layer-not-hidden-actual.png Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-left-panel--layerPanel-with-GIS-document-should-hide-the-top-raster-layer-retry1/top-layer-not-hidden-diff.png 164 | 165 | // Wait for the map to be displayed. > 166 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 167 | name: 'top-layer-not-hidden.png', 168 | maxDiffPixelRatio: 0.01 169 | }); at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts:166:39
tests/left-panel.spec.ts:156:9 › #layerPanel › with GIS document › should hide the top raster layer: ui-tests/tests/left-panel.spec.ts#L166
1) tests/left-panel.spec.ts:156:9 › #layerPanel › with GIS document › should hide the top raster layer Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 137166 pixels (ratio 0.48 of all image pixels) are different. Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts-snapshots/top-layer-not-hidden-linux.png Received: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-left-panel--layerPanel-with-GIS-document-should-hide-the-top-raster-layer-retry2/top-layer-not-hidden-actual.png Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-left-panel--layerPanel-with-GIS-document-should-hide-the-top-raster-layer-retry2/top-layer-not-hidden-diff.png 164 | 165 | // Wait for the map to be displayed. > 166 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 167 | name: 'top-layer-not-hidden.png', 168 | maxDiffPixelRatio: 0.01 169 | }); at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts:166:39
tests/layer-browser.spec.ts:121:7 › #layerBrowser › layer browser should open when clicked: ui-tests/tests/layer-browser.spec.ts#L108
2) tests/layer-browser.spec.ts:121:7 › #layerBrowser › layer browser should open when clicked ──── Test timeout of 60000ms exceeded while running "beforeEach" hook. 106 | }); 107 | > 108 | test.beforeEach(async ({ page }) => { | ^ 109 | await page.filebrowser.open('testDir/test.jGIS'); 110 | }); 111 | at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/layer-browser.spec.ts:108:8
tests/layer-browser.spec.ts:121:7 › #layerBrowser › layer browser should open when clicked: ui-tests/tests/layer-browser.spec.ts#L1
2) tests/layer-browser.spec.ts:121:7 › #layerBrowser › layer browser should open when clicked ──── 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/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct: ui-tests/tests/notebook.spec.ts#L20
3) tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark 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:82:5
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/
Lint check
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/
python_tests
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 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 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 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
The following actions use a deprecated Node.js version and will be forced to run on node20: 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, 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/
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
1 failed tests/left-panel.spec.ts:156:9 › #layerPanel › with GIS document › should hide the top raster layer 2 flaky tests/layer-browser.spec.ts:121:7 › #layerBrowser › layer browser should open when clicked ───── tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct 45 passed (3.9m)

Artifacts

Produced during runtime
Name Size
appsharingspace
349 Bytes
extension-artifacts
48.2 MB
galata-apss
343 Bytes
github-pages Expired
47.3 MB
jupytergis-playwright-tests
8.06 MB