Integration test: address PR comments

This commit is contained in:
DC
2016-09-17 18:14:31 -07:00
parent 711d274398
commit 6541291e0d
6 changed files with 16 additions and 12 deletions

View File

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