Skip to content

Commit

Permalink
Apply wait
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfelixrico committed Apr 6, 2024
1 parent 9226b82 commit ae4f37b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/cypress/e2e/pad-socket.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ describe('pad-socket', () => {
]

cy.visit(`/rooms/${getRoomId()}`)
/*
* This wait is to let the pad be able to do the catch-up (or at least partially)
* Without this, local tests can fail
* TODO remove this once we've found a way to check if catch-up is done
*/
cy.wait(1_000)

cy.getCy('pad')
.should('exist')
.then(() => {
Expand Down

0 comments on commit ae4f37b

Please sign in to comment.