Integration tests: extra wait in test-audio

This commit is contained in:
DC
2016-09-21 09:46:33 -07:00
parent ed8f493b8b
commit b57ee73035
2 changed files with 2 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@@ -22,6 +22,7 @@ test('audio-streaming', function (t) {
// Click next
.then(() => app.client.click('.skip-next'))
.then(() => app.client.waitUntilTextExists('.player', 'David Byrne'))
.then(() => setup.wait(5e3))
.then(() => app.client.moveToObject('.letterbox'))
.then(() => app.webContents.executeJavaScript('dispatch("playPause")'))
.then(() => app.webContents.executeJavaScript('dispatch("skipTo", 2)'))
@@ -31,6 +32,7 @@ test('audio-streaming', function (t) {
.then(() => app.webContents.executeJavaScript('dispatch("playPause")'))
// Play past the end of the song, then pause after the start of the next song by Zap Mama
.then(() => app.client.waitUntilTextExists('.player', 'Zap Mama'), 15e3)
.then(() => setup.wait(5e3))
.then(() => app.webContents.executeJavaScript('dispatch("playPause")'))
.then(() => app.webContents.executeJavaScript('dispatch("skipTo", 2)'))
.then(() => setup.screenshotCreateOrCompare(app, t, 'play-torrent-wired-3'))