Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(cypress): improvements to avoid failure on last test #3797

Merged
merged 1 commit into from
Jun 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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