Cleanup examples #2791
build.yml
on: pull_request
Matrix: Build jupytergis
Lint check
1m 26s
Check Links
1m 36s
Matrix: python_tests
Integration tests Lite
2m 55s
Annotations
12 errors, 2 warnings, and 2 notices
Integration tests Lite
Process completed with exit code 1.
|
[chromium] › tests/lite.spec.ts:35:11 › UI Test › File operations › Should be able to render test.jGIS without error:
ui-tests/tests/lite.spec.ts#L59
1) [chromium] › tests/lite.spec.ts:35:11 › UI Test › File operations › Should be able to render test.jGIS without error
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
250983 pixels (ratio 0.84 of all image pixels) are different.
Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts-snapshots/Render-test-jGIS-chromium-linux.png
Received: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-d849f-der-test-jGIS-without-error-chromium-retry1/Render-test-jGIS-actual.png
Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-d849f-der-test-jGIS-without-error-chromium-retry1/Render-test-jGIS-diff.png
57 | expect(errors).toBe(0);
58 | if (main) {
> 59 | expect(await main.screenshot()).toMatchSnapshot({
| ^
60 | name: `Render-${file}.png`,
61 | maxDiffPixelRatio: 0.01,
62 | });
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts:59:43
|
[chromium] › tests/lite.spec.ts:35:11 › UI Test › File operations › Should be able to render test.jGIS without error:
ui-tests/tests/lite.spec.ts#L59
1) [chromium] › tests/lite.spec.ts:35:11 › UI Test › File operations › Should be able to render test.jGIS without error
Error: expect(Buffer).toMatchSnapshot(expected)
250983 pixels (ratio 0.84 of all image pixels) are different.
Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts-snapshots/Render-test-jGIS-chromium-linux.png
Received: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-d849f-der-test-jGIS-without-error-chromium/Render-test-jGIS-actual.png
Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-d849f-der-test-jGIS-without-error-chromium/Render-test-jGIS-diff.png
57 | expect(errors).toBe(0);
58 | if (main) {
> 59 | expect(await main.screenshot()).toMatchSnapshot({
| ^
60 | name: `Render-${file}.png`,
61 | maxDiffPixelRatio: 0.01,
62 | });
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts:59:43
|
Integration tests
Process completed with exit code 1.
|
[chromium] › tests/notebook.spec.ts:84:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct:
ui-tests/tests/notebook.spec.ts#L70
3) [chromium] › tests/notebook.spec.ts:84:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: ENOENT: no such file or directory, open '/home/runner/work/jupytergis/jupytergis/ui-tests/tests/gis-files/eq.geojson'
68 | tmpPath,
69 | );
> 70 | await page.contents.uploadFile(
| ^
71 | path.resolve(__dirname, `./gis-files/${FILENAME}`),
72 | `/${tmpPath}/${FILENAME}`,
73 | );
at Object.base64EncodeFile (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:16:22)
at ContentsHelper.uploadFile (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/contents.ts:217:13)
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:70:25
|
[chromium] › tests/notebook.spec.ts:84:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct:
ui-tests/tests/notebook.spec.ts#L70
3) [chromium] › tests/notebook.spec.ts:84:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct
Error: ENOENT: no such file or directory, open '/home/runner/work/jupytergis/jupytergis/ui-tests/tests/gis-files/eq.geojson'
68 | tmpPath,
69 | );
> 70 | await page.contents.uploadFile(
| ^
71 | path.resolve(__dirname, `./gis-files/${FILENAME}`),
72 | `/${tmpPath}/${FILENAME}`,
73 | );
at Object.base64EncodeFile (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:16:22)
at ContentsHelper.uploadFile (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/contents.ts:217:13)
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:70:25
|
[chromium] › tests/notebook.spec.ts:77:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct:
ui-tests/tests/notebook.spec.ts#L70
2) [chromium] › tests/notebook.spec.ts:77:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: ENOENT: no such file or directory, open '/home/runner/work/jupytergis/jupytergis/ui-tests/tests/gis-files/eq.geojson'
68 | tmpPath,
69 | );
> 70 | await page.contents.uploadFile(
| ^
71 | path.resolve(__dirname, `./gis-files/${FILENAME}`),
72 | `/${tmpPath}/${FILENAME}`,
73 | );
at Object.base64EncodeFile (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:16:22)
at ContentsHelper.uploadFile (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/contents.ts:217:13)
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:70:25
|
[chromium] › tests/notebook.spec.ts:77:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct:
ui-tests/tests/notebook.spec.ts#L70
2) [chromium] › tests/notebook.spec.ts:77:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct
Error: ENOENT: no such file or directory, open '/home/runner/work/jupytergis/jupytergis/ui-tests/tests/gis-files/eq.geojson'
68 | tmpPath,
69 | );
> 70 | await page.contents.uploadFile(
| ^
71 | path.resolve(__dirname, `./gis-files/${FILENAME}`),
72 | `/${tmpPath}/${FILENAME}`,
73 | );
at Object.base64EncodeFile (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:16:22)
at ContentsHelper.uploadFile (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/contents.ts:217:13)
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/notebook.spec.ts:70:25
|
[chromium] › tests/filters.spec.ts:22:7 › #filters › filters should apply and be removed:
ui-tests/tests/filters.spec.ts#L27
1) [chromium] › tests/filters.spec.ts:22:7 › #filters › filters should apply and be removed ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByText('Custom GeoJSON Layer', { exact: true })
- locator resolved to <span tabindex="-2" id="id-fb4c8c69-1105-4a97-9bee-f71697a1b3b7" class="jp-gis-layerText data-jgis-keybinding">Custom GeoJSON Layer</span>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <dialog aria-modal="true" class="lm-Widget jp-Dialog jp-ThemedContainer" aria-label="Error Adding Custom GeoJSON Layer Failed to add Custom GeoJSON Layer: Invalid response: 404 Not Found">…</dialog> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <dialog aria-modal="true" class="lm-Widget jp-Dialog jp-ThemedContainer" aria-label="Error Adding Custom GeoJSON Layer Failed to add Custom GeoJSON Layer: Invalid response: 404 Not Found">…</dialog> intercepts pointer events
- retrying click action
- waiting 100ms
107 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <dialog aria-modal="true" class="lm-Widget jp-Dialog jp-ThemedContainer" aria-label="Error Adding Custom GeoJSON Layer Failed to add Custom GeoJSON Layer: Invalid response: 404 Not Found">…</dialog> intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
25 |
26 | /// Open Layer
> 27 | await page.getByText('Custom GeoJSON Layer', { exact: true }).click();
| ^
28 |
29 | // Add first filter
30 | await page.getByRole('button', { name: 'Add' }).click();
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/filters.spec.ts:27:67
|
[chromium] › tests/filters.spec.ts:22:7 › #filters › filters should apply and be removed:
ui-tests/tests/filters.spec.ts#L0
1) [chromium] › tests/filters.spec.ts:22:7 › #filters › filters should apply and be removed ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
[chromium] › tests/filters.spec.ts:22:7 › #filters › filters should apply and be removed:
ui-tests/tests/filters.spec.ts#L27
1) [chromium] › tests/filters.spec.ts:22:7 › #filters › filters should apply and be removed ──────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByText('Custom GeoJSON Layer', { exact: true })
- locator resolved to <span tabindex="-2" id="id-5c84141e-3f9b-4b69-a7cf-4487d79918fb" class="jp-gis-layerText data-jgis-keybinding">Custom GeoJSON Layer</span>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <dialog aria-modal="true" class="lm-Widget jp-Dialog jp-ThemedContainer" aria-label="Error Adding Custom GeoJSON Layer Failed to add Custom GeoJSON Layer: Invalid response: 404 Not Found">…</dialog> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <dialog aria-modal="true" class="lm-Widget jp-Dialog jp-ThemedContainer" aria-label="Error Adding Custom GeoJSON Layer Failed to add Custom GeoJSON Layer: Invalid response: 404 Not Found">…</dialog> intercepts pointer events
- retrying click action
- waiting 100ms
109 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <dialog aria-modal="true" class="lm-Widget jp-Dialog jp-ThemedContainer" aria-label="Error Adding Custom GeoJSON Layer Failed to add Custom GeoJSON Layer: Invalid response: 404 Not Found">…</dialog> intercepts pointer events
- retrying click action
- waiting 500ms
25 |
26 | /// Open Layer
> 27 | await page.getByText('Custom GeoJSON Layer', { exact: true }).click();
| ^
28 |
29 | // Add first filter
30 | await page.getByRole('button', { name: 'Add' }).click();
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/filters.spec.ts:27:67
|
[chromium] › tests/filters.spec.ts:22:7 › #filters › filters should apply and be removed:
ui-tests/tests/filters.spec.ts#L0
1) [chromium] › tests/filters.spec.ts:22:7 › #filters › filters should apply and be removed ──────
Test timeout of 60000ms exceeded.
|
Build jupytergis (3.12)
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/
|
Build jupytergis (3.10)
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/
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/lite.spec.ts:35:11 › UI Test › File operations › Should be able to render test.jGIS without error
2 passed (1.4m)
|
🎭 Playwright Run Summary
3 failed
[chromium] › tests/filters.spec.ts:22:7 › #filters › filters should apply and be removed ───────
[chromium] › tests/notebook.spec.ts:77:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct
[chromium] › tests/notebook.spec.ts:84:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct
37 passed (5.5m)
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
extension-artifacts
|
55.2 MB |
sha256:07582bc82dc7540894132753637a8f9fd8d6eab6209161fbe6f9b7f01aae3368
|
|
extension-artifacts-3.10
|
55.2 MB |
sha256:5f77da8a9b058504aa4bae946537aed61277e513a0ce614361281fe908039d35
|
|
galata-apss
|
350 Bytes |
sha256:27a2638713a68a62739820c29956b09e177ae36114a3c8e4488dee56ae67d7bb
|
|
jupytergis-lite-playwright-tests
|
34.9 MB |
sha256:2935e1d939c3fc8a893e87559dd870c8cd5ad5929db77a7ad70d3c000a94f767
|
|
jupytergis-playwright-tests
|
26.4 MB |
sha256:12848c61e59e808eef0804446e053d22f8ff2104adc369807e908920105e630b
|
|
lite-artifacts
|
202 MB |
sha256:00797118ef2409bf1b02f79d6dbe6205a74f106dbfae4fe64868d3883619c8eb
|
|