Skip to content

Commit

Permalink
test dataset cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin-Sun-tts committed Jul 29, 2024
1 parent 5250905 commit 1630f96
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions e2e/cypress/integration/dataset.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ describe('Dataset', () => {
cy.hide_debug_toolbar();
// 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_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');
// the modal is invisible
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');
});
});

0 comments on commit 1630f96

Please sign in to comment.