Skip to content

Fix bug when loading geojson layers in notebook and update notebook test #551

Fix bug when loading geojson layers in notebook and update notebook test

Fix bug when loading geojson layers in notebook and update notebook test #551

Triggered via issue January 10, 2025 15:44
@gjmooneygjmooney
commented on #305 86abebb
Status Success
Total duration 8m 35s
Artifacts 2

update_galata_references.yaml

on: issue_comment
update-snapshots
8m 25s
update-snapshots
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
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: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 ───────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: <element(s) not found> 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 #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: <element(s) not found> 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: <element(s) not found> 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: <element(s) not found> 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: <element(s) not found> 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
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 ────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: <element(s) not found> 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
tests/export.spec.ts:70:7 › #export › should display warnings: ui-tests/tests/export.spec.ts#L75
5) tests/export.spec.ts:70:7 › #export › should display warnings ───────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.jp-Dialog') 73 | 74 | const dialog = page.locator('.jp-Dialog'); > 75 | await expect(dialog).toBeAttached(); | ^ 76 | await dialog.locator('.jp-mod-accept').click(); 77 | await expect(dialog).not.toBeAttached(); 78 | await expect(dialog).toBeAttached(); at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:75:26
tests/export.spec.ts:70:7 › #export › should display warnings: ui-tests/tests/export.spec.ts#L75
5) tests/export.spec.ts:70:7 › #export › should display warnings ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeAttached() Locator: locator('.jp-Dialog') Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.jp-Dialog') 73 | 74 | const dialog = page.locator('.jp-Dialog'); > 75 | await expect(dialog).toBeAttached(); | ^ 76 | await dialog.locator('.jp-mod-accept').click(); 77 | await expect(dialog).not.toBeAttached(); 78 | await expect(dialog).toBeAttached(); at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/export.spec.ts:75:26
🎭 Playwright Run Summary
6 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/ui.spec.ts:43:11 › UI Test › File operations › Should be able to render buildings.qgz without error 1 flaky tests/left-panel.spec.ts:249:9 › #layerPanel › with GIS document › should move the top raster layer using drag and drop 42 passed (5.8m)

Artifacts

Produced during runtime
Name Size
playwright-report
44.2 MB
playwright-snapshots
2.78 MB