From af2f5e313d05b8423af785e14e0c7108faeb8bf8 Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Fri, 15 Mar 2024 17:54:08 +0000 Subject: [PATCH] chore: update Cypress tests to reflect updates to local fixtures --- tests/cypress/specs/benefit-select.cy.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cypress/specs/benefit-select.cy.js b/tests/cypress/specs/benefit-select.cy.js index 1d4f9c5adb..9ee369c5a0 100644 --- a/tests/cypress/specs/benefit-select.cy.js +++ b/tests/cypress/specs/benefit-select.cy.js @@ -8,20 +8,20 @@ describe("Benefit selection", () => { helpers.selectAgency(); }); - it("User sees 3 radio buttons", () => { - cy.get("input:radio").should("have.length", 3); + it("User sees 4 radio buttons", () => { + cy.get("input:radio").should("have.length", 4); cy.contains("Courtesy Card"); cy.contains("65 years"); }); it("User must select a radio button, or else see a validation message", () => { - cy.get("input:radio").should("have.length", 3); + cy.get("input:radio").should("have.length", 4); cy.get("input:radio:checked").should("have.length", 0); cy.get("#form-verifier-selection").submit(); cy.url().should("include", verifier_selection_url); cy.get("input:radio:checked").should("have.length", 0); - cy.get("input:invalid").should("have.length", 3); + cy.get("input:invalid").should("have.length", 4); cy.get("input:radio") .first() .invoke("prop", "validationMessage")