test: cover fitted map panning
This commit is contained in:
parent
0778c1a71c
commit
26b05d9729
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user