fix(search): double search on DHT

This commit is contained in:
Alexey Kasyanchuk
2021-02-18 19:33:31 +03:00
parent 3f46ea2af4
commit 619b3ccd32
2 changed files with 18 additions and 1 deletions

View File

@ -44,7 +44,7 @@ describe("download", function() {
let progress = parseInt(await (await app.client.$('.torrentRow .progressDownloading')).getText());
console.log('download progress', progress, '%');
// cancel in progress button must be exists
if (progress < 90) {
if (progress < 50) {
console.log('testing buttons')
assert(await (await app.client.$('.torrentRow .deleteDownloadBeforeFinish')).isExisting());
assert(await (await app.client.$('.torrentRow .pauseTorrent')).isExisting());