Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(test): Fixes failing to hangup a participant.

damenchobd1c3332ea54
diff --git a/tests/helpers/Participant.ts b/tests/helpers/Participant.ts
index 521c1d2b9e..7438c5bcbb 100644
--- a/tests/helpers/Participant.ts
+++ b/tests/helpers/Participant.ts
@@ -624,7 +624,10 @@ export class Participant {
}
);
- await this.driver.url('/base.html');
+ await this.driver.url('/base.html')
+
+ // This was fixed in wdio v9.9.1, we can drop once we update to that version
+ .catch(_ => {}); // eslint-disable-line @typescript-eslint/no-empty-function
}
/**
diff --git a/tests/specs/2way/mute.spect.ts b/tests/specs/2way/mute.spect.ts
index c60aa10d9f..8e848f12a7 100644
--- a/tests/specs/2way/mute.spect.ts
+++ b/tests/specs/2way/mute.spect.ts
@@ -132,9 +132,6 @@ async function muteP1BeforeP2JoinsAndScreenshare(p2p: boolean) {
// Stop desktop share and unmute video and check for video again.
await p1.getToolbar().clickStopDesktopSharingButton();
- // Let's give it some time to stop the screen share before turning on the video
- await p1.driver.pause(1000);
-
await p2.getParticipantsPane().assertVideoMuteIconIsDisplayed(p1);
await unmuteVideoAndCheck(p1, p2);
await p2.waitForRemoteVideo(await p1.getEndpointId());