Integration test: video playback

This commit is contained in:
DC
2016-09-14 20:10:43 -07:00
parent 75a4655a0f
commit bdb733352a
7 changed files with 62 additions and 6 deletions

View File

@@ -44,6 +44,8 @@ function waitForLoad (app, t, opts) {
return app.client.windowByIndex(1)
}).then(function () {
return app.client.waitUntilWindowLoaded()
}).then(function () {
if (!opts.online) app.electron.ipcRenderer.send('testOffline', true)
}).then(function () {
return app.webContents.getTitle()
}).then(function (title) {