Skip to content

Update to jupyter-collaboration>=3 #736

Update to jupyter-collaboration>=3

Update to jupyter-collaboration>=3 #736

Triggered via pull request November 18, 2024 13:50
Status Failure
Total duration 22m 29s
Artifacts 5

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 11 warnings, and 1 notice
Lint check
Process completed with exit code 1.
tests/export.spec.ts:14:7 › #export › should have the menu item: ui-tests/tests/export.spec.ts#L18
1) tests/export.spec.ts:14:7 › #export › should have the menu item ─────────────────────────────── Error: expect(received).not.toBeNull() Received: null 16 | await page.menu.open('File'); 17 | let menuItem = await page.menu.getMenuItem('File>Export To QGZ'); > 18 | expect(menuItem).not.toBeNull(); | ^ 19 | expect(await menuItem?.getAttribute('aria-disabled')).toBeTruthy(); 20 | await page.menu.closeAll(); 21 | at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:18:26
tests/export.spec.ts:14:7 › #export › should have the menu item: ui-tests/tests/export.spec.ts#L18
1) tests/export.spec.ts:14:7 › #export › should have the menu item ─────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toBeNull() Received: null 16 | await page.menu.open('File'); 17 | let menuItem = await page.menu.getMenuItem('File>Export To QGZ'); > 18 | expect(menuItem).not.toBeNull(); | ^ 19 | expect(await menuItem?.getAttribute('aria-disabled')).toBeTruthy(); 20 | await page.menu.closeAll(); 21 | at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:18:26
tests/export.spec.ts:14:7 › #export › should have the menu item: ui-tests/tests/export.spec.ts#L18
1) tests/export.spec.ts:14:7 › #export › should have the menu item ─────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toBeNull() Received: null 16 | await page.menu.open('File'); 17 | let menuItem = await page.menu.getMenuItem('File>Export To QGZ'); > 18 | expect(menuItem).not.toBeNull(); | ^ 19 | expect(await menuItem?.getAttribute('aria-disabled')).toBeTruthy(); 20 | await page.menu.closeAll(); 21 | at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:18:26
tests/export.spec.ts:29:7 › #export › should not export to qgis on cancel: ui-tests/tests/export.spec.ts#L30
2) tests/export.spec.ts:29:7 › #export › should not export to qgis on cancel ───────────────────── Error: elementHandle.dblclick: Element is not attached to the DOM =========================== logs =========================== attempting dblclick action waiting for element to be visible, enabled and stable ============================================================ 28 | 29 | test('should not export to qgis on cancel', async ({ page }) => { > 30 | await page.filebrowser.open('testDir/france-hiking.jGIS'); | ^ 31 | await page.menu.clickMenuItem('File>Export To QGZ'); 32 | 33 | const dialog = page.locator('.jp-Dialog'); at FileBrowserHelper.open (/home/runner/work/jupytergis/jupytergis/ui-tests/node_modules/@jupyterlab/galata/src/helpers/filebrowser.ts:123:24) at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:30:5
tests/export.spec.ts:29:7 › #export › should not export to qgis on cancel: ui-tests/tests/export.spec.ts#L34
2) tests/export.spec.ts:29:7 › #export › should not export to qgis on cancel ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: detached Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.jp-Dialog') 32 | 33 | const dialog = page.locator('.jp-Dialog'); > 34 | await expect(dialog).toBeAttached(); | ^ 35 | await dialog.locator('.jp-mod-reject').click(); 36 | await page.filebrowser.refresh(); 37 | expect( at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:34:26
tests/export.spec.ts:29:7 › #export › should not export to qgis on cancel: ui-tests/tests/export.spec.ts#L34
2) tests/export.spec.ts:29:7 › #export › should not export to qgis on cancel ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: detached Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.jp-Dialog') 32 | 33 | const dialog = page.locator('.jp-Dialog'); > 34 | await expect(dialog).toBeAttached(); | ^ 35 | await dialog.locator('.jp-mod-reject').click(); 36 | await page.filebrowser.refresh(); 37 | expect( at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:34:26
tests/export.spec.ts:42:7 › #export › should export to qgis with default name: ui-tests/tests/export.spec.ts#L47
3) tests/export.spec.ts:42:7 › #export › should export to qgis with default name ───────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: detached Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.jp-Dialog') 45 | 46 | const dialog = page.locator('.jp-Dialog'); > 47 | await expect(dialog).toBeAttached(); | ^ 48 | await dialog.locator('.jp-mod-accept').click(); 49 | await page.filebrowser.refresh(); 50 | expect( at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:47:26
tests/export.spec.ts:42:7 › #export › should export to qgis with default name: ui-tests/tests/export.spec.ts#L47
3) tests/export.spec.ts:42:7 › #export › should export to qgis with default name ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: detached Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.jp-Dialog') 45 | 46 | const dialog = page.locator('.jp-Dialog'); > 47 | await expect(dialog).toBeAttached(); | ^ 48 | await dialog.locator('.jp-mod-accept').click(); 49 | await page.filebrowser.refresh(); 50 | expect( at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:47:26
tests/export.spec.ts:42:7 › #export › should export to qgis with default name: ui-tests/tests/export.spec.ts#L47
3) tests/export.spec.ts:42:7 › #export › should export to qgis with default name ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: detached Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.jp-Dialog') 45 | 46 | const dialog = page.locator('.jp-Dialog'); > 47 | await expect(dialog).toBeAttached(); | ^ 48 | await dialog.locator('.jp-mod-accept').click(); 49 | await page.filebrowser.refresh(); 50 | expect( at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:47:26
tests/export.spec.ts:55:7 › #export › should export to qgis with custom name: ui-tests/tests/export.spec.ts#L61
4) tests/export.spec.ts:55:7 › #export › should export to qgis with custom name ────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: detached Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.jp-Dialog') 59 | 60 | const dialog = page.locator('.jp-Dialog'); > 61 | await expect(dialog).toBeAttached(); | ^ 62 | await dialog.getByRole('textbox').fill(filename); 63 | await dialog.locator('.jp-mod-accept').click(); 64 | await page.filebrowser.refresh(); at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:61:26
Build jupytergis
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
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
15 failed tests/export.spec.ts:14:7 › #export › should have the menu item ──────────────────────────────── tests/export.spec.ts:29:7 › #export › should not export to qgis on cancel ────────────────────── tests/export.spec.ts:42:7 › #export › should export to qgis with default name ────────────────── tests/export.spec.ts:55:7 › #export › should export to qgis with custom name ─────────────────── tests/export.spec.ts:70:7 › #export › should display warnings ────────────────────────────────── tests/filters.spec.ts:22:7 › #filters › filters should apply and be removed ──────────────────── tests/geojson-layers.spec.ts:49:7 › #geoJSONLayer › Add a GeoJSON layer ──────────────────────── tests/left-panel.spec.ts:156:9 › #layerPanel › with GIS document › should hide the top raster layer tests/left-panel.spec.ts:237:9 › #layerPanel › with GIS document › should move the top raster layer using drag and drop tests/left-panel.spec.ts:389:11 › #sourcePanel › with GIS document › #sourcesContextMenu › should add and delete geoJSON source tests/notebook.spec.ts:71:7 › Notebook API Visual Regression › Light theme: Cell outputs should be correct tests/notebook.spec.ts:78:7 › Notebook API Visual Regression › Dark theme: Cell outputs should be correct tests/ui.spec.ts:43:11 › UI Test › File operations › Should be able to render test.jGIS without error tests/ui.spec.ts:43:11 › UI Test › File operations › Should be able to render buildings.qgz without error tests/ui.spec.ts:43:11 › UI Test › File operations › Should be able to render shapefile-test.jGIS without error 33 passed (12.3m)

Artifacts

Produced during runtime
Name Size
appsharingspace
350 Bytes
extension-artifacts
48.4 MB
galata-apss
343 Bytes
github-pages
47.7 MB
jupytergis-playwright-tests
85 MB