mirror of https://github.com/OpenVidu/openvidu.git
Update OpenViduTestAppE2eTest.java
parent
46bc47808f
commit
1f74a554a4
|
@ -306,6 +306,34 @@ public class OpenViduTestAppE2eTest {
|
||||||
user.getEventManager().waitUntilNumberOfEvent("sessionDisconnected", 1);
|
user.getEventManager().waitUntilNumberOfEvent("sessionDisconnected", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@DisplayName("Unique user remote subscription Firefox [Video + Audio]")
|
||||||
|
void oneRemoteSubscriptionFirefox() throws Exception {
|
||||||
|
|
||||||
|
setupBrowser("firefox");
|
||||||
|
|
||||||
|
log.info("Unique user remote subscription Firefox [Video + Audio]");
|
||||||
|
|
||||||
|
user.getDriver().findElement(By.id("add-user-btn")).click();
|
||||||
|
user.getDriver().findElement(By.className("subscribe-remote-check")).click();
|
||||||
|
user.getDriver().findElement(By.className("join-btn")).click();
|
||||||
|
|
||||||
|
user.getEventManager().waitUntilNumberOfEvent("connectionCreated", 1);
|
||||||
|
user.getEventManager().waitUntilNumberOfEvent("accessAllowed", 1);
|
||||||
|
|
||||||
|
Thread.sleep(3000);
|
||||||
|
|
||||||
|
try {
|
||||||
|
System.out.println(getBase64Screenshot(user));
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
|
user.getDriver().findElement(By.className(("leave-btn"))).click();
|
||||||
|
|
||||||
|
user.getEventManager().waitUntilNumberOfEvent("sessionDisconnected", 1);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@DisplayName("Unique user remote subscription [ScreenShare + Audio]")
|
@DisplayName("Unique user remote subscription [ScreenShare + Audio]")
|
||||||
void oneRemoteSubscriptionScreen() throws Exception {
|
void oneRemoteSubscriptionScreen() throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue