Update the name of the source after a layer renaming #2587
Annotations
3 errors and 1 notice
Execute integration tests
Process completed with exit code 1.
|
Execute integration tests:
ui-tests/tests/contextmenu.spec.ts#L149
1) [chromium] › tests/contextmenu.spec.ts:129:7 › context menu › pressing F2 should start rename for layer
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByText('test name') resolved to 2 elements:
1) <span tabindex="0" id="id-75a17a99-93df-4a3f-b0cd-9ad8098a6922" class="jp-gis-layerText data-jgis-keybinding">test name</span> aka getByText('test name', { exact: true })
2) <option value="0">test name Source</option> aka locator('#root_source')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('test name')
147 | const newText = page.getByText('test name');
148 |
> 149 | await expect(newText).toBeVisible();
| ^
150 |
151 | // reset layer name
152 | await page.locator('#jp-gis-layer-tree div').nth(2).click();
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/contextmenu.spec.ts:149:27
|
Execute integration tests:
ui-tests/tests/contextmenu.spec.ts#L149
1) [chromium] › tests/contextmenu.spec.ts:129:7 › context menu › pressing F2 should start rename for layer
Error: expect.toBeVisible: Error: strict mode violation: getByText('test name') resolved to 2 elements:
1) <span tabindex="0" id="id-54980dc4-c08e-4a90-b473-9955406a6149" class="jp-gis-layerText data-jgis-keybinding">test name</span> aka getByText('test name', { exact: true })
2) <option value="0">test name Source</option> aka locator('#root_source')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('test name')
147 | const newText = page.getByText('test name');
148 |
> 149 | await expect(newText).toBeVisible();
| ^
150 |
151 | // reset layer name
152 | await page.locator('#jp-gis-layer-tree div').nth(2).click();
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/contextmenu.spec.ts:149:27
|
Execute integration tests
1 failed
[chromium] › tests/contextmenu.spec.ts:129:7 › context menu › pressing F2 should start rename for layer
38 passed (4.1m)
|
Loading