Cleanup examples #2790
build.yml
on: pull_request
Matrix: Build jupytergis
Lint check
1m 23s
Check Links
1m 41s
Matrix: python_tests
Integration tests Lite
2m 40s
Annotations
12 errors, 2 warnings, and 2 notices
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-925bbfdd-d332-4bfc-93ee-9c0579b71ca2" 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-836b45ed-8e82-41b7-84ea-34d6979dd225" 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.
|
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)
250984 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)
250992 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
|
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
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)
|
🎭 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)
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
extension-artifacts
|
55.2 MB |
sha256:34dd734026c1af032b00885b94b0b529989bdb186834770f19e62ce9662c5b64
|
|
extension-artifacts-3.10
|
55.2 MB |
sha256:ed6f400ac3cfc968dc16d175e3210b1836986f5b92b827948265c322f4bb5a94
|
|
galata-apss
|
349 Bytes |
sha256:4913e2e61860b305fd4a683ed41cb1b63a856cfc94cbf9a3297df0874e332544
|
|
jupytergis-lite-playwright-tests
|
35.1 MB |
sha256:e4ce995f6b3581ce09621d576a51c5dc543b29220423052fb8471a2dfbd26145
|
|
jupytergis-playwright-tests
|
27.1 MB |
sha256:692197abec7ffcf0422af2dd690d892b376a1474a4cebfb9dd55898b8ecfb5ff
|
|
lite-artifacts
|
202 MB |
sha256:0b91e50098e0aae1f401afa89a704953af52e6ab0268a2230b0d3cde04f32955
|
|