feat: Plus und Minus Icons

This commit is contained in:
ISA
2025-09-16 13:32:22 +02:00
parent cdfdd3d6cf
commit 2e5acf9327
16 changed files with 111 additions and 125 deletions

View File

@@ -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();