This commit is contained in:
Alexey Kasyanchuk
2019-05-03 00:25:50 +03:00
parent e552b491a8
commit 356db94dff
7 changed files with 165 additions and 165 deletions

View File

@ -54,9 +54,9 @@ describe("download", function() {
const { app } = this
await app.client.waitForExist('.torrentRow .progressDownloading')
await app.client.waitUntil(async () => {
return (await app.client.getText('.torrentRow .progressDownloading')) === '100.0%'
return (await app.client.getText('.torrentRow .progressDownloading')) === '100.0%'
}, 60000, 'expected that download will be finished', 200)
// Check Buttons After finish
assert(!(await app.client.isExisting('.torrentRow .deleteDownloadBeforeFinish')));
})