Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(tests) Check for the endpointID of the large-video (#16601)
Jaya Allamsettyad144e6fd355
diff --git a/tests/pageobjects/Filmstrip.ts b/tests/pageobjects/Filmstrip.tsindex 98636f6c71..d6a6538956 100644--- a/tests/pageobjects/Filmstrip.ts+++ b/tests/pageobjects/Filmstrip.ts@@ -80,29 +80,17 @@ export default class Filmstrip extends BasePageObject {* @param participant The participant.*/async pinParticipant(participant: Participant) {- let videoIdToSwitchTo;-if (participant === this.participant) {- videoIdToSwitchTo = await this.getLocalVideoId();-// when looking up the element and clicking it, it doesn't work if we do it twice in a row (oneOnOne.spec)await this.participant.execute(() => document?.getElementById('localVideoContainer')?.click());} else {const epId = await participant.getEndpointId();- videoIdToSwitchTo = await this.getRemoteVideoId(epId);-await this.participant.driver.$(`//span[@id="participant_${epId}"]`).click();}+ const endpointID = await participant.getEndpointId();- await this.participant.driver.waitUntil(- async () => await this.participant.getLargeVideo().getId() === videoIdToSwitchTo,- {- timeout: 3_000,- timeoutMsg: `${this.participant.name} did not switch the large video to ${- participant.name}`- }- );+ await this.participant.waitForParticipantOnLargeVideo(endpointID);}/**