Skip to content

Commit

Permalink
openvidu-test-e2e: fix custom layout broadcast test
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloFuente committed Apr 3, 2023
1 parent 5d2e782 commit 1fe005c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3003,9 +3003,13 @@ void customLayoutBroadcastTest() throws Exception {
Map<String, Object> 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);
Expand Down

0 comments on commit 1fe005c

Please sign in to comment.