fix(tests): fix tests on new version

This commit is contained in:
Alexey Kasyanchuk
2019-10-27 21:33:42 +03:00
parent 8795b3d81c
commit 5ede6935ac
4 changed files with 28 additions and 300 deletions

View File

@ -56,6 +56,8 @@ describe("download", function() {
await app.client.waitUntil(async () => {
return (await app.client.getText('.torrentRow .progressDownloading')) === '100.0%'
}, 60000, 'expected that download will be finished', 200)
// There is some time before button will be replaced
await asyncWait(800);
// Check Buttons After finish
assert(!(await app.client.isExisting('.torrentRow .deleteDownloadBeforeFinish')));