Skip to content

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

test(filmstrip): drop unnecessary moveTo when reading remote video id

Hristo Terezov21a3b56ed7bb
diff --git a/tests/pageobjects/Filmstrip.ts b/tests/pageobjects/Filmstrip.ts
index 252936c76a..88fff40cb1 100644
--- a/tests/pageobjects/Filmstrip.ts
+++ b/tests/pageobjects/Filmstrip.ts
@@ -58,9 +58,7 @@ export default class Filmstrip extends BasePageObject {
* @param endpointId
*/
async getRemoteVideoId(endpointId: string) {
- const remoteDisplayName = this.participant.driver.$(`span[id="participant_${endpointId}"]`);
-
- await remoteDisplayName.moveTo();
+ await this.participant.driver.$(`span[id="participant_${endpointId}"]`).waitForExist();
return await this.participant.execute(eId =>
document.evaluate(`//span[@id="participant_${eId}"]//video`,