fix: address board grid review

This commit is contained in:
Thomas Camlong committed 2026-08-01 23:26:02 +02:00
1 parent d94cadd3e7
commit d0c7ba401f
54 files changed
+657 -323

No files matched your search

+1 -1
View File
@@ -465,7 +465,6 @@ describe("Board grid", () => {
await expect(containerSection.locator("xpath=ancestor::aside[1]")).toHaveAttribute("data-board-gutter", "left");
await editToggle.click();
await expect(page.locator(`[data-grid-runtime="${gridRuntimeMarker}"]`)).toHaveCount(3);
const mainGridBox = await expectBoundingBoxAsync(mainGrid);
await dragHandleToGridPositionAsync(page, containerGrip, containerSection, mainGrid, 2, 0, canvasScale);
await expect(containerSection.locator("xpath=ancestor::*[@data-grid-section-id][1]")).toHaveAttribute(
"data-grid-section-id",
@@ -481,6 +480,7 @@ describe("Board grid", () => {
await secondItem.locator("[data-grid-item-content]").evaluate((element) => {
element.setAttribute("data-e2e-portal-instance", "second-item-content");
});
const mainGridBox = await expectBoundingBoxAsync(mainGrid);
await dragLocatorToAsync(
page,
secondItem,