From 1fe005c6afef59fe677d06a6b7998729d7433f09 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Mon, 3 Apr 2023 12:58:11 +0200 Subject: [PATCH] openvidu-test-e2e: fix custom layout broadcast test --- .../java/io/openvidu/test/e2e/OpenViduProTestAppE2eTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduProTestAppE2eTest.java b/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduProTestAppE2eTest.java index a9a6612226..f735e0c523 100644 --- a/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduProTestAppE2eTest.java +++ b/openvidu-test-e2e/src/test/java/io/openvidu/test/e2e/OpenViduProTestAppE2eTest.java @@ -3003,9 +3003,13 @@ void customLayoutBroadcastTest() throws Exception { Map config = Map.of("OPENVIDU_PRO_SPEECH_TO_TEXT", "disabled", "OPENVIDU_RECORDING", true, "OPENVIDU_RECORDING_CUSTOM_LAYOUT", "/opt/openvidu/test-layouts"); restartOpenViduServer(config); + + final String SESSION_NAME = "CUSTOM_LAYOUT_SESSION"; OpenViduTestappUser user = setupBrowserAndConnectToOpenViduTestapp("chrome"); user.getDriver().findElement(By.id("add-user-btn")).click(); + user.getDriver().findElement(By.id("session-name-input-0")).clear(); + user.getDriver().findElement(By.id("session-name-input-0")).sendKeys(SESSION_NAME); user.getDriver().findElement(By.className("join-btn")).sendKeys(Keys.ENTER); user.getEventManager().waitUntilEventReaches("streamCreated", 1);