Skip to content

Commit

Permalink
find modal by class
Browse files Browse the repository at this point in the history
  • Loading branch information
btylerburton committed Jul 30, 2024
1 parent 4edc9f9 commit ae9eb29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/cypress/integration/dataset.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ describe('Dataset', () => {
// the button is visible
cy.get('#contact-btn').should('be.visible').click();
// the modal is invisible
cy.get('#fba-modal-dialog').should('be.visible');
cy.get('.fba-modal-dialog').should('be.visible');
cy.get('#fba_location_code').should('have.value', 'ek500-water-column-sonar-data-collected-during-al0001');
// can hide the modal
cy.get('a[class="fba-modal-close"]').click();
cy.get('#fba-modal-dialog').should('not.be.visible');
cy.get('a.fba-modal-close').click();
cy.get('.fba-modal-dialog').should('not.be.visible');
});
});

0 comments on commit ae9eb29

Please sign in to comment.