mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
tests: Also pass --use-fake-ui-for-media-stream
to Chrome
For testing ep_webrtc.
This commit is contained in:
parent
752e2488af
commit
8f0d70312d
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ const finishedRegex = /FINISHED.*[0-9]+ tests passed, ([0-9]+) tests failed/;
|
||||||
|
|
||||||
const sauceTestWorker = async.queue(async ({name, pfx, testSettings}) => {
|
const sauceTestWorker = async.queue(async ({name, pfx, testSettings}) => {
|
||||||
const chromeOptions = new swdChrome.Options()
|
const chromeOptions = new swdChrome.Options()
|
||||||
.addArguments('use-fake-device-for-media-stream');
|
.addArguments('use-fake-device-for-media-stream', 'use-fake-ui-for-media-stream');
|
||||||
const driver = await new swd.Builder()
|
const driver = await new swd.Builder()
|
||||||
.usingServer('https://ondemand.saucelabs.com/wd/hub')
|
.usingServer('https://ondemand.saucelabs.com/wd/hub')
|
||||||
.withCapabilities(Object.assign({
|
.withCapabilities(Object.assign({
|
||||||
|
|
Loading…
Reference in a new issue