Integration test: add existing torrent

This commit is contained in:
DC
2016-09-13 22:19:52 -07:00
parent 62c5b78358
commit 051c1516a0
12 changed files with 72 additions and 20 deletions

View File

@@ -15,17 +15,15 @@ test('app runs', function (t) {
const app = setup.createApp()
setup.waitForLoad(app, t)
.then(() => setup.wait())
.then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-basic'))
.then(() => setup.screenshotCreateOrCompare(app, t, 'app-basic'))
.then(() => setup.endTest(app, t),
(err) => setup.endTest(app, t, err || 'error'))
})
console.log('Testing the torrent list (home page)...')
setup.wipeTestDataDir()
require('./test-torrent-list')
// require('./test-torrent-list')
require('./test-add-torrent')
// TODO:
// require('./test-add-torrent')
// require('./test-create-torrent')
// require('./test-prefs')
// require('./test-video')