mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: fix changePublisherTest with different ChromeUser
parent
8a4cc402fd
commit
276722176b
|
@ -691,7 +691,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
||||||
|
|
||||||
Queue<Boolean> threadAssertions = new ConcurrentLinkedQueue<Boolean>();
|
Queue<Boolean> threadAssertions = new ConcurrentLinkedQueue<Boolean>();
|
||||||
|
|
||||||
OpenViduTestappUser user = setupBrowserAndConnectToOpenViduTestapp("chrome");
|
OpenViduTestappUser user = setupBrowserAndConnectToOpenViduTestapp("chromeAlternateScreenShare");
|
||||||
|
|
||||||
log.info("Change publisher dynamically");
|
log.info("Change publisher dynamically");
|
||||||
|
|
||||||
|
@ -770,7 +770,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
||||||
Assertions.assertEquals(2, numberOfVideos, "Wrong number of videos");
|
Assertions.assertEquals(2, numberOfVideos, "Wrong number of videos");
|
||||||
Assertions.assertTrue(user.getBrowserUser()
|
Assertions.assertTrue(user.getBrowserUser()
|
||||||
.assertMediaTracks(user.getDriver().findElements(By.tagName("video")), false, true),
|
.assertMediaTracks(user.getDriver().findElements(By.tagName("video")), false, true),
|
||||||
"Videos were expected to only have audio tracks");
|
"Videos were expected to only have video tracks");
|
||||||
|
|
||||||
final CountDownLatch latch3 = new CountDownLatch(2);
|
final CountDownLatch latch3 = new CountDownLatch(2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue