From c22592318084ae20747f8cc50410b5ab5246521d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Carde=C3=B1a?= <35935591+luisecm@users.noreply.github.com> Date: Wed, 22 Jun 2022 13:14:19 -0500 Subject: [PATCH] test(cypress): improvements to avoid failure on last test --- cypress/integration-pair-chat/chat-first-user.js | 2 +- cypress/integration-pair-chat/chat-second-user.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/cypress/integration-pair-chat/chat-first-user.js b/cypress/integration-pair-chat/chat-first-user.js index 8327087b75..db8d73241c 100644 --- a/cypress/integration-pair-chat/chat-first-user.js +++ b/cypress/integration-pair-chat/chat-first-user.js @@ -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() diff --git a/cypress/integration-pair-chat/chat-second-user.js b/cypress/integration-pair-chat/chat-second-user.js index cf677229ab..a0585faabe 100644 --- a/cypress/integration-pair-chat/chat-second-user.js +++ b/cypress/integration-pair-chat/chat-second-user.js @@ -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', () => {