mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: do not use headless mode for Virtual Background
parent
117e6647a9
commit
066810be17
|
@ -45,6 +45,10 @@ public class ChromeUser extends BrowserUser {
|
||||||
this(userName, timeOfWaitInSeconds, generateFakeVideoChromeOptions(fakeVideoLocation), true);
|
this(userName, timeOfWaitInSeconds, generateFakeVideoChromeOptions(fakeVideoLocation), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ChromeUser(String userName, int timeOfWaitInSeconds, Path fakeVideoLocation, boolean headless) {
|
||||||
|
this(userName, timeOfWaitInSeconds, generateFakeVideoChromeOptions(fakeVideoLocation), headless);
|
||||||
|
}
|
||||||
|
|
||||||
private ChromeUser(String userName, int timeOfWaitInSeconds, ChromeOptions options, boolean headless) {
|
private ChromeUser(String userName, int timeOfWaitInSeconds, ChromeOptions options, boolean headless) {
|
||||||
super(userName, timeOfWaitInSeconds);
|
super(userName, timeOfWaitInSeconds);
|
||||||
|
|
||||||
|
|
|
@ -336,9 +336,9 @@ public class OpenViduTestE2e {
|
||||||
browserUser = new ChromeUser("TestUser", 50, Paths.get("/opt/openvidu/barcode.y4m"));
|
browserUser = new ChromeUser("TestUser", 50, Paths.get("/opt/openvidu/barcode.y4m"));
|
||||||
break;
|
break;
|
||||||
case "chromeVirtualBackgroundFakeVideo":
|
case "chromeVirtualBackgroundFakeVideo":
|
||||||
container = chromeContainer("selenium/standalone-chrome:" + CHROME_VERSION, 2147483648L, 1, true);
|
container = chromeContainer("selenium/standalone-chrome:" + CHROME_VERSION, 2147483648L, 1, false);
|
||||||
setupBrowserAux(BrowserNames.CHROME, container, false);
|
setupBrowserAux(BrowserNames.CHROME, container, false);
|
||||||
browserUser = new ChromeUser("TestUser", 50, Paths.get("/opt/openvidu/girl.mjpeg"));
|
browserUser = new ChromeUser("TestUser", 50, Paths.get("/opt/openvidu/girl.mjpeg"), false);
|
||||||
break;
|
break;
|
||||||
case "firefox":
|
case "firefox":
|
||||||
container = firefoxContainer("selenium/standalone-firefox:" + FIREFOX_VERSION, 2147483648L, 1, true);
|
container = firefoxContainer("selenium/standalone-firefox:" + FIREFOX_VERSION, 2147483648L, 1, true);
|
||||||
|
|
Loading…
Reference in New Issue