Skip to content

Rework object properties + format url properly #115

Rework object properties + format url properly

Rework object properties + format url properly #115

Triggered via pull request July 4, 2024 12:59
Status Failure
Total duration 8m 38s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 8 warnings, and 1 notice
Lint check
Process completed with exit code 1.
tests/left-panel.spec.ts:92:9 › #layersPanel › with GIS document › should navigate in nested groups: ui-tests/tests/left-panel.spec.ts#L96
1) tests/left-panel.spec.ts:92:9 › #layersPanel › with GIS document › should navigate in nested groups Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('#jupytergis\\:\\:leftControlPanel').locator('.jp-gis-layerPanel').locator('.jp-gis-layerItem') Expected: 2 Received: 3 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('#jupytergis\\:\\:leftControlPanel').locator('.jp-gis-layerPanel').locator('.jp-gis-layerItem') - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" 94 | const layerEntries = layerTree.locator('.jp-gis-layerItem'); 95 | > 96 | await expect(layerEntries).toHaveCount(2); | ^ 97 | await expect(layerEntries.first()).toHaveClass(/jp-gis-layer/); 98 | await expect(layerEntries.last()).toHaveClass(/jp-gis-layerGroup/); 99 | at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts:96:34
tests/left-panel.spec.ts:92:9 › #layersPanel › with GIS document › should navigate in nested groups: ui-tests/tests/left-panel.spec.ts#L96
1) tests/left-panel.spec.ts:92:9 › #layersPanel › with GIS document › should navigate in nested groups Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('#jupytergis\\:\\:leftControlPanel').locator('.jp-gis-layerPanel').locator('.jp-gis-layerItem') Expected: 2 Received: 3 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('#jupytergis\\:\\:leftControlPanel').locator('.jp-gis-layerPanel').locator('.jp-gis-layerItem') - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" 94 | const layerEntries = layerTree.locator('.jp-gis-layerItem'); 95 | > 96 | await expect(layerEntries).toHaveCount(2); | ^ 97 | await expect(layerEntries.first()).toHaveClass(/jp-gis-layer/); 98 | await expect(layerEntries.last()).toHaveClass(/jp-gis-layerGroup/); 99 | at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts:96:34
tests/left-panel.spec.ts:139:9 › #layersPanel › with GIS document › should have visibility icon: ui-tests/tests/left-panel.spec.ts#L145
2) tests/left-panel.spec.ts:139:9 › #layersPanel › with GIS document › should have visibility icon Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('#jupytergis\\:\\:leftControlPanel').locator('.jp-gis-layerPanel').getByTitle('Show layer') Expected: 0 Received: 1 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('#jupytergis\\:\\:leftControlPanel').locator('.jp-gis-layerPanel').getByTitle('Show layer') - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" 143 | 144 | await expect(hideLayerButton).toHaveCount(1); > 145 | await expect(showLayerButton).toHaveCount(0); | ^ 146 | 147 | expect(await hideLayerButton.screenshot()).toMatchSnapshot( 148 | 'layer-visible-icon.png' at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts:145:37
tests/left-panel.spec.ts:139:9 › #layersPanel › with GIS document › should have visibility icon: ui-tests/tests/left-panel.spec.ts#L145
2) tests/left-panel.spec.ts:139:9 › #layersPanel › with GIS document › should have visibility icon Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('#jupytergis\\:\\:leftControlPanel').locator('.jp-gis-layerPanel').getByTitle('Show layer') Expected: 0 Received: 1 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('#jupytergis\\:\\:leftControlPanel').locator('.jp-gis-layerPanel').getByTitle('Show layer') - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" 143 | 144 | await expect(hideLayerButton).toHaveCount(1); > 145 | await expect(showLayerButton).toHaveCount(0); | ^ 146 | 147 | expect(await hideLayerButton.screenshot()).toMatchSnapshot( 148 | 'layer-visible-icon.png' at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts:145:37
tests/left-panel.spec.ts:164:9 › #layersPanel › with GIS document › should hide the top layer: ui-tests/tests/left-panel.spec.ts#L177
3) tests/left-panel.spec.ts:164:9 › #layersPanel › with GIS document › should hide the top layer ─ Error: Screenshot comparison failed: 141707 pixels (ratio 0.50 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--layersPanel-with-GIS-document-should-hide-the-top-layer/top-layer-not-hidden-actual.png Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-left-panel--layersPanel-with-GIS-document-should-hide-the-top-layer/top-layer-not-hidden-diff.png 175 | 176 | // Wait for the layer to be hidden. > 177 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 178 | name: notHiddenScreenshot, 179 | maxDiffPixelRatio: 0.01 180 | }); at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts:177:39
tests/left-panel.spec.ts:164:9 › #layersPanel › with GIS document › should hide the top layer: ui-tests/tests/left-panel.spec.ts#L177
3) tests/left-panel.spec.ts:164:9 › #layersPanel › with GIS document › should hide the top layer ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 141707 pixels (ratio 0.50 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--layersPanel-with-GIS-document-should-hide-the-top-layer-retry1/top-layer-not-hidden-actual.png Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-left-panel--layersPanel-with-GIS-document-should-hide-the-top-layer-retry1/top-layer-not-hidden-diff.png 175 | 176 | // Wait for the layer to be hidden. > 177 | expect(await main.screenshot()).toMatchSnapshot({ | ^ 178 | name: notHiddenScreenshot, 179 | maxDiffPixelRatio: 0.01 180 | }); at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/left-panel.spec.ts:177:39
tests/ui.spec.ts:33:11 › UI Test › File operations › Should be able to render test.jGIS without error: ui-tests/tests/ui.spec.ts#L55
4) tests/ui.spec.ts:33:11 › UI Test › File operations › Should be able to render test.jGIS without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 81 53 | await page.waitForTimeout(1000); 54 | const main = await page.$('#jp-main-split-panel'); > 55 | expect(errors).toBe(0); | ^ 56 | if (main) { 57 | expect(await main.screenshot()).toMatchSnapshot({ 58 | name: `Render-${file}.png`, at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/ui.spec.ts:55:24
tests/ui.spec.ts:33:11 › UI Test › File operations › Should be able to render test.jGIS without error: ui-tests/tests/ui.spec.ts#L55
4) tests/ui.spec.ts:33:11 › UI Test › File operations › Should be able to render test.jGIS without error Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 79 53 | await page.waitForTimeout(1000); 54 | const main = await page.$('#jp-main-split-panel'); > 55 | expect(errors).toBe(0); | ^ 56 | if (main) { 57 | expect(await main.screenshot()).toMatchSnapshot({ 58 | name: `Render-${file}.png`, at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/ui.spec.ts:55:24
Integration tests
Process completed with exit code 1.
Check Links
The following actions uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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/
Integration tests
The following actions uses Node.js version which is deprecated 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
4 failed tests/left-panel.spec.ts:92:9 › #layersPanel › with GIS document › should navigate in nested groups tests/left-panel.spec.ts:139:9 › #layersPanel › with GIS document › should have visibility icon tests/left-panel.spec.ts:164:9 › #layersPanel › with GIS document › should hide the top layer ── tests/ui.spec.ts:33:11 › UI Test › File operations › Should be able to render test.jGIS without error 14 passed (1.9m)

Artifacts

Produced during runtime
Name Size
extension-artifacts Expired
24.1 MB
jupytergis-playwright-tests Expired
3.25 MB