From adb21bc6c4b462488b753fdf2c8c66e79c4be1c1 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Thu, 3 Sep 2026 23:10:30 +0200 Subject: [PATCH] openvidu-test-e2e: wait until subscriber video width explicitely --- .../test/java/io/openvidu/test/e2e/OpenViduTestAppE2eTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduTestAppE2eTest.java b/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduTestAppE2eTest.java index 4ee33ac29..5566db34b 100644 --- a/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduTestAppE2eTest.java +++ b/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduTestAppE2eTest.java @@ -3523,6 +3523,9 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest { // effect: the spatial layer is instead derived from the rendered size of // the subscriber's video element int spatialLayers = Integer.parseInt(scalabilityMode.substring(1, 2)); + if (!adaptiveStream && spatialLayers > 1) { + this.waitUntilSubscriberFrameWidthIs(user, subscriberVideo, 1920); + } int highWidth = this.getSubscriberVideoFrameWidth(user, subscriberVideo); user.getDriver().findElement(By.cssSelector("#close-dialog-btn")).click(); Thread.sleep(300);