Skip to content

Commit

Permalink
wait for isReady
Browse files Browse the repository at this point in the history
  • Loading branch information
jessabean committed Jan 10, 2025
1 parent a285172 commit 9b1840d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e/wp/create.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ test.describe("Creating a new Work Plan", () => {
const modal = page.getByRole("dialog");

await adminWpDashboard.goto();
await adminWpDashboard.isReady();
await unlockButton.click();
await modal
.getByRole("heading", { name: "You unlocked this Work Plan" })
Expand All @@ -213,6 +214,7 @@ test.describe("Creating a new Work Plan", () => {

test("State user can resubmit a work plan", async () => {
await wpDashboard.goto();
await wpDashboard.isReady();
await wpDashboard.firstReport.getByRole("button", { name: "Edit" }).click();
await wpGeneralInformation.isReady();
await wpReviewAndSubmit.goto();
Expand Down

0 comments on commit 9b1840d

Please sign in to comment.