Skip to content

Commit

Permalink
Set Report Type to Combo to ensure theres a section 1 to fill in sect… (
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsummers1 authored May 30, 2024
1 parent 3f07445 commit d6c9e12
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/cypress/tests/integration/section1Fill.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ describe("CARTS Report Fill Tests", () => {
cy.get(actionButton, { timeout: 30000 }).contains("Edit").click();
cy.wait(3000);

//Set Report Type to Combo to ensure theres a section 1 to fill
cy.get("legend")
.contains("Program type")
.siblings()
.find("label")
.contains("Both Medicaid Expansion")
.then((label) => {
cy.get(`#${label.attr("for")}`).check();
});

// Navigate to Section 1
cy.get(navigationLink, { timeout: 3000 }).contains("Section 1").click();
cy.wait(3000);
Expand Down

0 comments on commit d6c9e12

Please sign in to comment.