Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarvarela authored Nov 14, 2023
1 parent ce5e326 commit 7b03680
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions site/gatsby-site/cypress/e2e/integration/discover.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,14 @@ describe('The Discover app', () => {
() => {
cy.visit(url);

cy.location('search', { timeout: 8000 }).should('contain', 'is_incident_report=true');

cy.waitForStableDOM();

cy.location('search', { timeout: 8000 }).should('contain', 'is_incident_report=true');

cy.contains('[data-cy="display-options"]', 'Incident Reports')
.should('exist')
.and('be.visible');

cy.waitForStableDOM();

cy.get('div[data-cy="hits-container"]').children().should('have.length.at.least', 28);
}
);
Expand Down

0 comments on commit 7b03680

Please sign in to comment.