test: cover fitted map panning

This commit is contained in:
Nico 2026-06-04 16:49:33 -07:00
parent 0778c1a71c
commit 26b05d9729

View File

@ -3968,6 +3968,11 @@ test("mobile editor pans from empty map space without moving areas", async ({ pa
await expect(bakeryArea).toHaveAttribute("x", "40");
await expect(bakeryArea).toHaveAttribute("y", "40");
const zoomIn = page.getByRole("button", { name: "Zoom in" });
await zoomIn.click();
await zoomIn.click();
await zoomIn.click();
const beforePan = await scroll.evaluate((element) => ({
left: element.scrollLeft,
top: element.scrollTop,