openvidu-test-e2e: fix audioOnlyVideoOnlyRecordTest

v2compatibility
pabloFuente 2025-01-24 13:42:22 +01:00
parent 121babe054
commit d7262ffa05
1 changed files with 3 additions and 4 deletions

View File

@ -2183,10 +2183,9 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
// Check audio-only INDIVIDUAL recording // Check audio-only INDIVIDUAL recording
recPath = recordingsPath + SESSION_NAME + "~2/"; recPath = recordingsPath + SESSION_NAME + "~2/";
recording = new OpenVidu(OPENVIDU_URL, OPENVIDU_SECRET).getRecording(SESSION_NAME + "~2"); recording = new OpenVidu(OPENVIDU_URL, OPENVIDU_SECRET).getRecording(SESSION_NAME + "~2");
// As the recording is audio only and there is only one participant publishing // As the recording is audio only and there are 2 participants publishing audio,
// its audio // the zip file must contain only 2 audio files
// The zip file only has 1 file (audio file) this.recordingUtils.checkIndividualRecording(recPath, recording, 2, "opus", null, true);
this.recordingUtils.checkIndividualRecording(recPath, recording, 1, "opus", null, true);
user.getDriver().findElement(By.id("close-dialog-btn")).click(); user.getDriver().findElement(By.id("close-dialog-btn")).click();
Thread.sleep(500); Thread.sleep(500);