From 02b71dd9d5cec79daacdffc5f8e78ad254ba4b9b Mon Sep 17 00:00:00 2001 From: Adam Moussa Date: Fri, 25 Sep 2026 18:24:46 -0400 Subject: [PATCH] fix(web): close the columns drawer before editing pay date --- e2e/dashboard-grids.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e2e/dashboard-grids.spec.ts b/e2e/dashboard-grids.spec.ts index c46c79d..7089c70 100644 --- a/e2e/dashboard-grids.spec.ts +++ b/e2e/dashboard-grids.spec.ts @@ -65,6 +65,10 @@ test.describe("dashboard grids", () => { await expect( readyGrid.locator('.MuiDataGrid-columnHeader[data-field="payDate"]'), ).toBeVisible(); + await page.getByRole("button", { name: "Close columns" }).evaluate((el: HTMLElement) => { + el.click(); + }); + await expect(drawer).toBeHidden(); const payDateCell = readyGrid.locator('[data-field="payDate"]').nth(1); await payDateCell.dblclick();