mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: wait until subscriber video width explicitely
parent
bfb3f3291e
commit
adb21bc6c4
|
|
@ -3523,6 +3523,9 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
||||||
// effect: the spatial layer is instead derived from the rendered size of
|
// effect: the spatial layer is instead derived from the rendered size of
|
||||||
// the subscriber's video element
|
// the subscriber's video element
|
||||||
int spatialLayers = Integer.parseInt(scalabilityMode.substring(1, 2));
|
int spatialLayers = Integer.parseInt(scalabilityMode.substring(1, 2));
|
||||||
|
if (!adaptiveStream && spatialLayers > 1) {
|
||||||
|
this.waitUntilSubscriberFrameWidthIs(user, subscriberVideo, 1920);
|
||||||
|
}
|
||||||
int highWidth = this.getSubscriberVideoFrameWidth(user, subscriberVideo);
|
int highWidth = this.getSubscriberVideoFrameWidth(user, subscriberVideo);
|
||||||
user.getDriver().findElement(By.cssSelector("#close-dialog-btn")).click();
|
user.getDriver().findElement(By.cssSelector("#close-dialog-btn")).click();
|
||||||
Thread.sleep(300);
|
Thread.sleep(300);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue