tests-e2e: Fixed moderatorCapabilitiesTest

v2compatibility
Carlos Santos 2024-12-09 14:14:10 +01:00
parent f6a64635b3
commit 59d2b9bb2f
1 changed files with 1 additions and 0 deletions

View File

@ -950,6 +950,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
"Videos were expected to have audio and video tracks");
// Moderator forces disconnect of publisher
Thread.sleep(3000);
user.getDriver().findElement(By.cssSelector("#openvidu-instance-2 .force-disconnect-btn")).click();
user.getEventManager().waitUntilEventReaches("streamDestroyed", 6);
user.getEventManager().waitUntilEventReaches("connectionDestroyed", 2);