diff --git a/cypress/e2e/event-create.cy.ts b/cypress/e2e/event-create.cy.ts index 930fdcc..2a8385a 100644 --- a/cypress/e2e/event-create.cy.ts +++ b/cypress/e2e/event-create.cy.ts @@ -29,8 +29,8 @@ describe('event creation', () => { ); cy.getBySel('event-save-button').click(); }); + cy.wait(1000); cy.visit('http://127.0.0.1:3000/events'); - cy.getBySel('events-page').should('exist'); cy.getBySel('event-list-entry').should('exist'); cy.getBySel('event-list-entry') .contains('Cypress Test Event')