Skip to content

Commit

Permalink
target the filter button not instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
BearHanded committed Jul 26, 2023
1 parent e4a5d8e commit e70f8b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/cypress/tests/integration/submitAndUncertify.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const headerDropdownMenu = "[data-testid='headerDropDownMenu']";
const actionButton = "[data-testid='report-action-button']";
const certifySubmitButton = "[data-testid='certifySubmit']";
const uncertifyButton = "[data-testid='uncertifyButton']";

describe("CARTS Submit and Uncertify Integration Tests", () => {
before(() => {
cy.visit("/");
Expand All @@ -22,7 +21,7 @@ describe("CARTS Submit and Uncertify Integration Tests", () => {
cy.get(".dropdown-heading").first().click();
cy.contains("Alabama").click();
cy.get("body").click(0, 0);
cy.contains("Filter").click();
cy.get(".filter-button").contains("Filter").click();
cy.wait(3000);

if ($body.find(uncertifyButton).length > 0) {
Expand Down Expand Up @@ -64,7 +63,7 @@ describe("CARTS Submit and Uncertify Integration Tests", () => {
cy.get(".dropdown-heading").first().click();
cy.contains("Alabama").click();
cy.get("body").click(0, 0);
cy.contains("Filter").click();
cy.get(".filter-button").contains("Filter").click();
cy.wait(3000);

cy.get(uncertifyButton).first().contains("Uncertify").click();
Expand Down

0 comments on commit e70f8b8

Please sign in to comment.