feat: Plus und Minus Icons
This commit is contained in:
@@ -282,10 +282,10 @@ test("zoom control buttons update mapZoom", async ({ page }) => {
|
||||
});
|
||||
|
||||
await page.goto("http://localhost:3000/?m=12&u=484");
|
||||
// Wait for Leaflet map and zoom controls
|
||||
// Wait for Leaflet map and custom zoom controls
|
||||
await page.locator("#map.leaflet-container").waitFor({ state: "visible", timeout: 20_000 });
|
||||
const zoomInBtn = page.locator(".leaflet-control-zoom-in");
|
||||
const zoomOutBtn = page.locator(".leaflet-control-zoom-out");
|
||||
const zoomInBtn = page.getByTestId("zoom-in");
|
||||
const zoomOutBtn = page.getByTestId("zoom-out");
|
||||
await expect(zoomInBtn).toBeVisible();
|
||||
await expect(zoomOutBtn).toBeVisible();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user