Skip to content

Commit

Permalink
test(cypress): improvements to avoid failure on last test (#3797)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm committed Jun 22, 2022
1 parent 20e63cb commit 3dcdb81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion cypress/integration-pair-chat/chat-first-user.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('Chat features with two accounts at the same time - First User', () =>

it(
'When the user clicks the video button camera should be enabled',
{ retries: 1 },
{ retries: 2 },
() => {
// Click on call video button and validate that video-stream is visible
cy.get('[data-cy=call-video]').click()
Expand Down
3 changes: 0 additions & 3 deletions cypress/integration-pair-chat/chat-second-user.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ describe('Chat features with two accounts at the same time - Second User', () =>
//Deny incoming videocall
cy.get('[data-cy=incoming-call]', { timeout: 90000 }).should('be.visible')
cy.get('[data-cy=incoming-call-deny]').click()

//Wait 30 seconds before calling User A again
cy.wait(30000)
})

it('Call to User A for a second time', () => {
Expand Down

0 comments on commit 3dcdb81

Please sign in to comment.