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:
damencho
2025-03-13 11:51:00 -05:00
committed by Дамян Минков
parent 5ee0738e45
commit bd1c3332ea
2 changed files with 4 additions and 4 deletions

View File

@@ -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
}
/**

View File

@@ -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());