Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet committed Jul 1, 2024
1 parent 1cd88f4 commit b0f134c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ui-tests/tests/left-panel.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ test.describe('#layersPanel', () => {
await expect(layersTree).not.toBeEmpty();
});

test('should restore empty layer panel', async ({ page }) => {
const layersTree = await openLayersTree(page);
await page.activity.closeAll();
await expect(layersTree).toBeEmpty();
});

test('raster layer should have icons', async ({ page }) => {
const layersTree = await openLayersTree(page);
const layerIcons = layersTree.locator(
Expand Down

0 comments on commit b0f134c

Please sign in to comment.