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

@@ -3,7 +3,7 @@ const fs = require('fs-extra')
const setup = require('./setup')
const config = require('./config')
test('torrent-list: show download path missing', function (t) {
test.skip('torrent-list: show download path missing', function (t) {
setup.resetTestDataDir()
fs.removeSync(config.TEST_DIR_DOWNLOAD)
@@ -37,6 +37,7 @@ test('torrent-list: start, stop, and delete torrents', function (t) {
// Click download on the first torrent, start downloading
.then(() => app.client.click('.icon.download'))
.then(() => app.client.waitUntilTextExists('.torrent-list', 'peer'))
.then(() => setup.wait(100e3))
.then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-start-download'))
// Click download on the first torrent again, stop downloading
.then(() => app.client.click('.icon.download'))