mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: reduce Thread.sleep(1000) to Thread.sleep(750)
parent
8e04c2e38c
commit
5347849c6d
|
@ -1177,7 +1177,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
||||||
|
|
||||||
// API REST test
|
// API REST test
|
||||||
user.getDriver().findElement(By.id("session-api-btn-0")).click();
|
user.getDriver().findElement(By.id("session-api-btn-0")).click();
|
||||||
Thread.sleep(1000);
|
Thread.sleep(750);
|
||||||
|
|
||||||
// Try to record a non-existing session
|
// Try to record a non-existing session
|
||||||
user.getDriver().findElement(By.id("start-recording-btn")).click();
|
user.getDriver().findElement(By.id("start-recording-btn")).click();
|
||||||
|
@ -1207,7 +1207,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
||||||
.until(ExpectedConditions.attributeToBe(By.id("api-response-text-area"), "value", "Error [404]"));
|
.until(ExpectedConditions.attributeToBe(By.id("api-response-text-area"), "value", "Error [404]"));
|
||||||
|
|
||||||
user.getDriver().findElement(By.id("close-dialog-btn")).click();
|
user.getDriver().findElement(By.id("close-dialog-btn")).click();
|
||||||
Thread.sleep(1000);
|
Thread.sleep(750);
|
||||||
|
|
||||||
// Join the user to the session
|
// Join the user to the session
|
||||||
user.getDriver().findElement(By.className("join-btn")).click();
|
user.getDriver().findElement(By.className("join-btn")).click();
|
||||||
|
@ -1224,7 +1224,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
||||||
"Video was expected to have audio and video tracks");
|
"Video was expected to have audio and video tracks");
|
||||||
|
|
||||||
user.getDriver().findElement(By.id("session-api-btn-0")).click();
|
user.getDriver().findElement(By.id("session-api-btn-0")).click();
|
||||||
Thread.sleep(1000);
|
Thread.sleep(750);
|
||||||
user.getDriver().findElement(By.id("rec-properties-btn")).click();
|
user.getDriver().findElement(By.id("rec-properties-btn")).click();
|
||||||
Thread.sleep(500);
|
Thread.sleep(500);
|
||||||
WebElement resolutionField = user.getDriver().findElement(By.id("recording-resolution-field"));
|
WebElement resolutionField = user.getDriver().findElement(By.id("recording-resolution-field"));
|
||||||
|
|
Loading…
Reference in New Issue