mirror of
https://github.com/Sea-Haven-Industries/seahaven-ap.git
synced 2026-10-02 22:43:14 +00:00
fix(web): close the columns drawer before editing pay date
This commit is contained in:
parent
56fcbe2df3
commit
02b71dd9d5
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue