Open jgis files with json viewer (#210) #758
Annotations
5 errors, 1 warning, and 1 notice
Execute integration tests:
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: expect(Buffer).toMatchSnapshot(expected)
135610 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--layerPan-077f8-d-hide-the-top-raster-layer/top-layer-not-hidden-actual.png
Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-left-panel--layerPan-077f8-d-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
|
Execute integration tests:
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: expect(Buffer).toMatchSnapshot(expected)
138354 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--layerPan-077f8-d-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--layerPan-077f8-d-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
|
Execute integration tests:
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: expect(Buffer).toMatchSnapshot(expected)
8522 pixels (ratio 0.03 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--layerPan-077f8-d-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--layerPan-077f8-d-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
|
Execute integration tests:
ui-tests/tests/geojson-layers.spec.ts#L72
2) tests/geojson-layers.spec.ts:49:7 › #geoJSONLayer › Add a GeoJSON layer ───────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('.jp-Dialog-content')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('.jp-Dialog-content')
9 × locator resolved to <div class="lm-Widget lm-Panel jp-Dialog-content jp-Dialog-content-small">…</div>
- unexpected value "true"
70 | await dialog.getByText('Ok', { exact: true }).first().click();
71 |
> 72 | await expect(dialog).not.toBeAttached();
| ^
73 |
74 | await new Promise(_ => setTimeout(_, 1000));
75 |
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/geojson-layers.spec.ts:72:30
|
Execute integration tests
Process completed with exit code 1.
|
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/
|
Execute integration tests
1 failed
tests/left-panel.spec.ts:156:9 › #layerPanel › with GIS document › should hide the top raster layer
1 flaky
tests/geojson-layers.spec.ts:49:7 › #geoJSONLayer › Add a GeoJSON layer ────────────────────────
46 passed (3.1m)
|
Loading