Skip to content

Commit

Permalink
add wait to cypress test;
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamineac committed Nov 1, 2023
1 parent 9b0453a commit 5e23250
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/e2e/HazardCurves.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ describe('Hazard Curves', () => {
cy.get('[data-testid="ArrowDropDownIcon"]').first().click({ force: true });
cy.get('li').contains('Christchurch').click({ force: true });
cy.get('[type="submit"]').click({ force: true });
cy.wait(1000);
cy.get('div[class="visx-legend-label"]').should('contain.text', '400m/s PGA Christchurch 400m/s PGA Wellington');
});

Expand Down

0 comments on commit 5e23250

Please sign in to comment.