openvidu-test-e2e remote recording sleep and print screen

pull/73/head
pabloFuente 2018-05-18 20:11:11 +02:00
parent 59ee6ecbde
commit de4e5ed027
1 changed files with 9 additions and 0 deletions

View File

@ -758,6 +758,15 @@ public class OpenViduTestAppE2eTest {
user.getDriver().findElement(By.id("session-api-btn")).click(); user.getDriver().findElement(By.id("session-api-btn")).click();
Thread.sleep(1000); Thread.sleep(1000);
user.getDriver().findElement(By.id("start-recording-btn")).click(); user.getDriver().findElement(By.id("start-recording-btn")).click();
Thread.sleep(4000);
try {
System.out.println(getBase64Screenshot(user));
} catch (Exception e) {
e.printStackTrace();
}
user.getWaiter().until(ExpectedConditions.attributeToBe(By.id("api-response-text-area"), "value", user.getWaiter().until(ExpectedConditions.attributeToBe(By.id("api-response-text-area"), "value",
"Recording started [" + sessionName + "]")); "Recording started [" + sessionName + "]"));