Skip to content

Commit

Permalink
[end2end] playwright test project with embed layer
Browse files Browse the repository at this point in the history
  • Loading branch information
nworr committed Dec 1, 2022
1 parent a3ac54c commit 4a75660
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/end2end/playwright/startup.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,12 @@ test.describe('Startup', () => {

await expect( page.locator('#layer-quartiers')).toHaveClass(/liz-layer/);
});

test('Projects with embed layer can load', async ({page}) => {
const proj_url = '/index.php/view/map/?repository=testsrepository&project=embed_layer';
await page.goto(proj_url, { waitUntil: 'networkidle' });
await expect( page.locator('#map')).toBeVisible();


});
});

0 comments on commit 4a75660

Please sign in to comment.