Add store location map manager #20
@ -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("x", "40");
|
||||||
await expect(bakeryArea).toHaveAttribute("y", "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) => ({
|
const beforePan = await scroll.evaluate((element) => ({
|
||||||
left: element.scrollLeft,
|
left: element.scrollLeft,
|
||||||
top: element.scrollTop,
|
top: element.scrollTop,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user