diff --git a/test/screenshots/darwin/add-torrent-0-percent.png b/test/screenshots/darwin/add-torrent-0-percent.png index 84e30806..b1e973b5 100644 Binary files a/test/screenshots/darwin/add-torrent-0-percent.png and b/test/screenshots/darwin/add-torrent-0-percent.png differ diff --git a/test/screenshots/darwin/add-torrent-100-percent.png b/test/screenshots/darwin/add-torrent-100-percent.png index 866be1fc..4c535dd6 100644 Binary files a/test/screenshots/darwin/add-torrent-100-percent.png and b/test/screenshots/darwin/add-torrent-100-percent.png differ diff --git a/test/screenshots/darwin/app-basic.png b/test/screenshots/darwin/app-basic.png index 5e473507..dd6f8522 100644 Binary files a/test/screenshots/darwin/app-basic.png and b/test/screenshots/darwin/app-basic.png differ diff --git a/test/screenshots/darwin/create-torrent-100-percent.png b/test/screenshots/darwin/create-torrent-100-percent.png index c8ed1d87..1d66797c 100644 Binary files a/test/screenshots/darwin/create-torrent-100-percent.png and b/test/screenshots/darwin/create-torrent-100-percent.png differ diff --git a/test/screenshots/darwin/play-torrent-return.png b/test/screenshots/darwin/play-torrent-return.png index cbf2e222..6e1adc9d 100644 Binary files a/test/screenshots/darwin/play-torrent-return.png and b/test/screenshots/darwin/play-torrent-return.png differ diff --git a/test/screenshots/darwin/play-torrent-wired-list.png b/test/screenshots/darwin/play-torrent-wired-list.png index c16abc1a..fd186cc8 100644 Binary files a/test/screenshots/darwin/play-torrent-wired-list.png and b/test/screenshots/darwin/play-torrent-wired-list.png differ diff --git a/test/screenshots/darwin/torrent-list-cosmos-delete-data.png b/test/screenshots/darwin/torrent-list-cosmos-delete-data.png index 8e2455be..a8ef7dcd 100644 Binary files a/test/screenshots/darwin/torrent-list-cosmos-delete-data.png and b/test/screenshots/darwin/torrent-list-cosmos-delete-data.png differ diff --git a/test/screenshots/darwin/torrent-list-cosmos-deleted.png b/test/screenshots/darwin/torrent-list-cosmos-deleted.png index 866c4109..7ad69010 100644 Binary files a/test/screenshots/darwin/torrent-list-cosmos-deleted.png and b/test/screenshots/darwin/torrent-list-cosmos-deleted.png differ diff --git a/test/screenshots/darwin/torrent-list-cosmos-expand-deselect.png b/test/screenshots/darwin/torrent-list-cosmos-expand-deselect.png index 380293f8..a16f508c 100644 Binary files a/test/screenshots/darwin/torrent-list-cosmos-expand-deselect.png and b/test/screenshots/darwin/torrent-list-cosmos-expand-deselect.png differ diff --git a/test/screenshots/darwin/torrent-list-cosmos-expand-start.png b/test/screenshots/darwin/torrent-list-cosmos-expand-start.png index 87f8884d..dbce67fa 100644 Binary files a/test/screenshots/darwin/torrent-list-cosmos-expand-start.png and b/test/screenshots/darwin/torrent-list-cosmos-expand-start.png differ diff --git a/test/screenshots/darwin/torrent-list-cosmos-expand.png b/test/screenshots/darwin/torrent-list-cosmos-expand.png index 3825d1f5..0dadadd6 100644 Binary files a/test/screenshots/darwin/torrent-list-cosmos-expand.png and b/test/screenshots/darwin/torrent-list-cosmos-expand.png differ diff --git a/test/screenshots/darwin/torrent-list-cosmos-hover.png b/test/screenshots/darwin/torrent-list-cosmos-hover.png index 9fea1715..1879c492 100644 Binary files a/test/screenshots/darwin/torrent-list-cosmos-hover.png and b/test/screenshots/darwin/torrent-list-cosmos-hover.png differ diff --git a/test/screenshots/darwin/torrent-list-delete-prompt.png b/test/screenshots/darwin/torrent-list-delete-prompt.png index ea0bf396..5aafaffb 100644 Binary files a/test/screenshots/darwin/torrent-list-delete-prompt.png and b/test/screenshots/darwin/torrent-list-delete-prompt.png differ diff --git a/test/screenshots/darwin/torrent-list-delete.png b/test/screenshots/darwin/torrent-list-delete.png deleted file mode 100644 index ea0bf396..00000000 Binary files a/test/screenshots/darwin/torrent-list-delete.png and /dev/null differ diff --git a/test/screenshots/darwin/torrent-list-deleted.png b/test/screenshots/darwin/torrent-list-deleted.png index b28dad8c..6e1adc9d 100644 Binary files a/test/screenshots/darwin/torrent-list-deleted.png and b/test/screenshots/darwin/torrent-list-deleted.png differ diff --git a/test/screenshots/darwin/torrent-list-download-path-missing.png b/test/screenshots/darwin/torrent-list-download-path-missing.png index 8e994016..a2855877 100644 Binary files a/test/screenshots/darwin/torrent-list-download-path-missing.png and b/test/screenshots/darwin/torrent-list-download-path-missing.png differ diff --git a/test/screenshots/darwin/torrent-list-hover-download.png b/test/screenshots/darwin/torrent-list-hover-download.png index e2b9f638..b79ac4d6 100644 Binary files a/test/screenshots/darwin/torrent-list-hover-download.png and b/test/screenshots/darwin/torrent-list-hover-download.png differ diff --git a/test/screenshots/darwin/torrent-list-hover.png b/test/screenshots/darwin/torrent-list-hover.png index 2e750948..6eafbb0a 100644 Binary files a/test/screenshots/darwin/torrent-list-hover.png and b/test/screenshots/darwin/torrent-list-hover.png differ diff --git a/test/screenshots/darwin/torrent-list-start-download.png b/test/screenshots/darwin/torrent-list-start-download.png index 15b36049..63c6d873 100644 Binary files a/test/screenshots/darwin/torrent-list-start-download.png and b/test/screenshots/darwin/torrent-list-start-download.png differ diff --git a/test/screenshots/darwin/torrent-list-stop-download.png b/test/screenshots/darwin/torrent-list-stop-download.png deleted file mode 100644 index e2b9f638..00000000 Binary files a/test/screenshots/darwin/torrent-list-stop-download.png and /dev/null differ diff --git a/test/test-torrent-list.js b/test/test-torrent-list.js index 4cafff07..d0725c45 100644 --- a/test/test-torrent-list.js +++ b/test/test-torrent-list.js @@ -7,7 +7,7 @@ test('torrent-list: show download path missing', function (t) { setup.resetTestDataDir() fs.removeSync(config.TEST_DIR_DOWNLOAD) - t.timeoutAfter(10e3) + t.timeoutAfter(20e3) const app = setup.createApp() setup.waitForLoad(app, t) .then(() => app.client.getTitle()) @@ -34,11 +34,11 @@ test('torrent-list: start, stop, and delete torrents', function (t) { .then(() => app.client.moveToObject('.torrent')) .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.click('.download input')) .then(() => app.client.waitUntilTextExists('.torrent-list', '276 MB')) .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-start-download')) // Click download on the first torrent again, stop downloading - .then(() => app.client.click('.icon.download')) + .then(() => app.client.click('.download input')) .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-hover-download')) // Click delete on the first torrent .then(() => app.client.click('.icon.delete')) @@ -72,7 +72,7 @@ test('torrent-list: expand torrent, unselect file', function (t) { .then(() => app.client.click('#torrent-cosmos .icon.deselect-file')) .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-cosmos-expand-deselect')) // Start the torrent - .then(() => app.client.click('#torrent-cosmos .icon.download')) + .then(() => app.client.click('#torrent-cosmos .download input')) .then(() => app.client.waitUntilTextExists('.torrent-list', '0%')) .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-cosmos-expand-start')) // Make sure that it creates all files EXCEPT the deslected one