mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(test): Fixes failing to hangup a participant.
This is caused by the redirect we do during hangup. fix(test): Fixes a FF case with not receiving video from p2.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user