From 42b0df882da06d80aada4847c751ebdddfddda7d Mon Sep 17 00:00:00 2001 From: brittbujacich Date: Thu, 13 Jun 2024 11:59:47 -0600 Subject: [PATCH] test fix --- tests/cypress/e2e/wp/form.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cypress/e2e/wp/form.cy.js b/tests/cypress/e2e/wp/form.cy.js index 52394530b..876db48af 100644 --- a/tests/cypress/e2e/wp/form.cy.js +++ b/tests/cypress/e2e/wp/form.cy.js @@ -142,7 +142,7 @@ describe("MFP Work Plan E2E Submission", () => { cy.contains("Successfully Submitted").should("be.visible"); - cy.get('text:contains("Leave form")').focus().click(); + cy.get("a:contains('Leave form')").focus().click(); cy.url().should("include", "/wp"); cy.contains("2").should("be.visible"); });