diff --git a/cypress/e2e/HazardCurves.cy.ts b/cypress/e2e/HazardCurves.cy.ts index 6b895b8..606e71a 100644 --- a/cypress/e2e/HazardCurves.cy.ts +++ b/cypress/e2e/HazardCurves.cy.ts @@ -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'); });