diff --git a/e2e/board-grid.spec.ts b/e2e/board-grid.spec.ts index a61b77479..a89d14592 100644 --- a/e2e/board-grid.spec.ts +++ b/e2e/board-grid.spec.ts @@ -290,7 +290,7 @@ describe("Board grid", () => { // row limit, and items can occupy empty rows below their original position. for (let targetRow = 1; targetRow <= 8; targetRow += 1) { await firstItem.evaluate((element) => element.scrollIntoView({ block: "center", behavior: "instant" })); - await dragLocatorByAsync(page, getEditorEntry(firstItem), 0, logicalCellPitch * canvasScale); + await dragLocatorByAsync(page, getEditorEntry(firstItem), 0, logicalCellPitch * canvasScale + 2); await expect(firstItem).toHaveAttribute("data-grid-y", String(targetRow)); } await expect(firstItem).toHaveAttribute("data-grid-y", "8");