test: remove some remote usage from chromium specs (#20121)

* test: remove remote usage from chromium specs

* disable tts test

* port navigator.mediaDevices tests

* fake camera and microphone

* Update spec-main/chromium-spec.ts

Co-Authored-By: John Kleinschmidt <jkleinsc@github.com>
This commit is contained in:
Jeremy Apthorp 2019-10-11 13:55:50 -07:00 committed by GitHub
parent 1b2c6a33b3
commit 2aa7ab821c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 420 additions and 462 deletions

View file

@ -24,6 +24,9 @@ app.on('window-all-closed', () => null)
// not the entire test suite
app.commandLine.appendSwitch('ignore-certificate-errors')
// Use fake device for Media Stream to replace actual camera and microphone.
app.commandLine.appendSwitch('use-fake-device-for-media-stream')
global.standardScheme = 'app'
global.zoomScheme = 'zoom'
protocol.registerSchemesAsPrivileged([