diff --git a/tests/specs/3way/avatars.spec.ts b/tests/specs/3way/avatars.spec.ts index a8da55731a..99ab41b0e7 100644 --- a/tests/specs/3way/avatars.spec.ts +++ b/tests/specs/3way/avatars.spec.ts @@ -122,9 +122,21 @@ describe('Avatar', () => { await p1.getParticipantsPane().assertVideoMuteIconIsDisplayed(p2); // Start the third participant - await ensureThreeParticipants(ctx); + await ensureThreeParticipants(ctx, { + skipInMeetingChecks: true + }); + const { p3 } = ctx; + // When the first participant is FF because of their audio mic feed it will never become dominant speaker + // and no audio track will be received by the third participant and video is muted, + // that's why we need to do a different check that expects any track just from p2 + if (p1.driver.isFirefox) { + await Promise.all([ p2.waitForRemoteStreams(1), p3.waitForRemoteStreams(1) ]); + } else { + await Promise.all([ p2.waitForRemoteStreams(2), p3.waitForRemoteStreams(2) ]); + } + // Pin local video and verify avatars are displayed await p3.getFilmstrip().pinParticipant(p3);