mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 05:43:12 +00:00
test: scope pending wizard selection assertion
This commit is contained in:
parent
123b1ec9b5
commit
52b682283c
1 changed files with 3 additions and 1 deletions
|
|
@ -169,7 +169,9 @@ test.describe("existing work order status menu", () => {
|
|||
const menu = page.locator(".MuiPopover-paper").last();
|
||||
await expect(menu.getByRole("button", { name: "Pending", exact: true })).toBeEnabled();
|
||||
await menu.getByRole("button", { name: "Pending", exact: true }).click();
|
||||
await expect(page.getByRole("button", { name: "Pending", exact: true })).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole("dialog").getByRole("button", { name: "Pending", exact: true }),
|
||||
).toBeVisible();
|
||||
|
||||
await page.getByRole("button", { name: "Create work order" }).click();
|
||||
await expect(page.getByRole("heading", { name: "Type & schedule" })).toBeHidden();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue