fix(web): close the columns drawer before editing pay date

This commit is contained in:
Adam Moussa 2026-09-25 18:24:46 -04:00
parent 56fcbe2df3
commit 02b71dd9d5
No known key found for this signature in database

View file

@ -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();