Skip to content

Commit

Permalink
TCCP: Update BEM in cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
contolini committed May 7, 2024
1 parent e41888b commit 32a954b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ describe('Explore credit cards landing page', () => {
it("should show an error message if a location isn't selected", () => {
exploreCards.openLandingPage();

cy.get('.a-form-alert--text').should('not.be.visible');
cy.get('.a-form-alert__text').should('not.be.visible');

exploreCards.selectSituation('Earn rewards');
exploreCards.clickSubmitButton();

cy.get('.a-form-alert--text').should('be.visible');
cy.get('.a-form-alert__text').should('be.visible');

exploreCards.selectLocation('NY');

cy.get('.a-form-alert--text').should('not.be.visible');
cy.get('.a-form-alert__text').should('not.be.visible');
});
});

Expand Down

0 comments on commit 32a954b

Please sign in to comment.