diff --git a/src/renderer/pages/player-page.js b/src/renderer/pages/player-page.js index ccc73f1..713ac69 100644 --- a/src/renderer/pages/player-page.js +++ b/src/renderer/pages/player-page.js @@ -329,7 +329,7 @@ function renderLoadingSpinner (state) { return (
-
 
+
{fileProgress}% downloaded ↓ {prettyBytes(prog.downloadSpeed || 0)}/s diff --git a/test/screenshots/darwin/add-torrent-0-percent.png b/test/screenshots/darwin/add-torrent-0-percent.png index 7f9e85c..864dcd4 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 cc7c33a..0bcacef 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 ca34124..6c2b892 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 84dc2ed..f3d8a43 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/create-torrent-advanced.png b/test/screenshots/darwin/create-torrent-advanced.png index 3b33e27..4614d25 100644 Binary files a/test/screenshots/darwin/create-torrent-advanced.png and b/test/screenshots/darwin/create-torrent-advanced.png differ diff --git a/test/screenshots/darwin/create-torrent-simple.png b/test/screenshots/darwin/create-torrent-simple.png index 7db9f47..ddc88d4 100644 Binary files a/test/screenshots/darwin/create-torrent-simple.png and b/test/screenshots/darwin/create-torrent-simple.png differ diff --git a/test/screenshots/darwin/play-torrent-bbb.png b/test/screenshots/darwin/play-torrent-bbb.png index 7229d72..760e4c0 100644 Binary files a/test/screenshots/darwin/play-torrent-bbb.png and b/test/screenshots/darwin/play-torrent-bbb.png differ diff --git a/test/screenshots/darwin/play-torrent-return.png b/test/screenshots/darwin/play-torrent-return.png index fae9865..a4cb38f 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-2.png b/test/screenshots/darwin/play-torrent-wired-2.png index 0f0e090..47f5264 100644 Binary files a/test/screenshots/darwin/play-torrent-wired-2.png and b/test/screenshots/darwin/play-torrent-wired-2.png differ diff --git a/test/screenshots/darwin/play-torrent-wired-3.png b/test/screenshots/darwin/play-torrent-wired-3.png index 3fe120b..c08acdc 100644 Binary files a/test/screenshots/darwin/play-torrent-wired-3.png and b/test/screenshots/darwin/play-torrent-wired-3.png differ diff --git a/test/screenshots/darwin/play-torrent-wired-4.png b/test/screenshots/darwin/play-torrent-wired-4.png index 3fe120b..c08acdc 100644 Binary files a/test/screenshots/darwin/play-torrent-wired-4.png and b/test/screenshots/darwin/play-torrent-wired-4.png differ diff --git a/test/screenshots/darwin/play-torrent-wired-5.png b/test/screenshots/darwin/play-torrent-wired-5.png index 3fe120b..c08acdc 100644 Binary files a/test/screenshots/darwin/play-torrent-wired-5.png and b/test/screenshots/darwin/play-torrent-wired-5.png differ diff --git a/test/screenshots/darwin/play-torrent-wired-fullscreen.png b/test/screenshots/darwin/play-torrent-wired-fullscreen.png index f11590b..97b16de 100644 Binary files a/test/screenshots/darwin/play-torrent-wired-fullscreen.png and b/test/screenshots/darwin/play-torrent-wired-fullscreen.png differ diff --git a/test/screenshots/darwin/play-torrent-wired-list.png b/test/screenshots/darwin/play-torrent-wired-list.png index e4b8d2b..5c3f9ea 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/play-torrent-wired.png b/test/screenshots/darwin/play-torrent-wired.png index 4caf894..a707104 100644 Binary files a/test/screenshots/darwin/play-torrent-wired.png and b/test/screenshots/darwin/play-torrent-wired.png differ diff --git a/test/screenshots/darwin/prefs-basic.png b/test/screenshots/darwin/prefs-basic.png index 77abfab..f3823e9 100644 Binary files a/test/screenshots/darwin/prefs-basic.png and b/test/screenshots/darwin/prefs-basic.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 e52438f..30dac5a 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 4188096..0bd1bff 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 9a0cdf6..2e7b49d 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 c679b94..5422bc8 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 fc6e27e..01226d7 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 deleted file mode 100644 index 7427b20..0000000 Binary files a/test/screenshots/darwin/torrent-list-cosmos-hover.png and /dev/null differ diff --git a/test/screenshots/darwin/torrent-list-delete-prompt.png b/test/screenshots/darwin/torrent-list-delete-prompt.png index b61cfde..aed81fd 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-deleted.png b/test/screenshots/darwin/torrent-list-deleted.png index fae9865..a4cb38f 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 0ee02e1..a0bcca4 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-download.png b/test/screenshots/darwin/torrent-list-download.png new file mode 100644 index 0000000..22e9d4d Binary files /dev/null and b/test/screenshots/darwin/torrent-list-download.png differ diff --git a/test/screenshots/darwin/torrent-list-hover-download.png b/test/screenshots/darwin/torrent-list-hover-download.png deleted file mode 100644 index ab47431..0000000 Binary files a/test/screenshots/darwin/torrent-list-hover-download.png and /dev/null differ diff --git a/test/screenshots/darwin/torrent-list-hover.png b/test/screenshots/darwin/torrent-list-hover.png deleted file mode 100644 index d578087..0000000 Binary files a/test/screenshots/darwin/torrent-list-hover.png and /dev/null differ diff --git a/test/screenshots/darwin/torrent-list-start-download.png b/test/screenshots/darwin/torrent-list-start-download.png index 2e202f6..0c18744 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.png b/test/screenshots/darwin/torrent-list.png new file mode 100644 index 0000000..1d9e02f Binary files /dev/null and b/test/screenshots/darwin/torrent-list.png differ diff --git a/test/test-add-torrent.js b/test/test-add-torrent.js index c8d7bd3..12a6056 100644 --- a/test/test-add-torrent.js +++ b/test/test-add-torrent.js @@ -40,10 +40,9 @@ test('create-torrent', function (t) { announce: [ 'udp://explodie.org:6969', 'udp://tracker.coppersurfer.tk:6969', + 'udp://tracker.empire-js.us:1337', 'udp://tracker.leechers-paradise.org:6969', - 'udp://tracker.openbittorrent.com:80', 'udp://tracker.opentrackr.org:1337', - 'udp://zer0day.ch:1337', 'wss://tracker.btorrent.xyz', 'wss://tracker.fastcast.nz', 'wss://tracker.openwebtorrent.com' diff --git a/test/test-torrent-list.js b/test/test-torrent-list.js index b3b8fe5..3ae6fac 100644 --- a/test/test-torrent-list.js +++ b/test/test-torrent-list.js @@ -31,22 +31,20 @@ test('torrent-list: start, stop, and delete torrents', function (t) { const app = setup.createApp() setup.waitForLoad(app, t) .then(() => app.client.waitUntilTextExists('.torrent-list', 'Big Buck Bunny')) - // Mouse over the first torrent - .then(() => app.client.moveToObject('.torrent')) - .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-hover')) + .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list')) // Click download on the first torrent, start downloading .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('.download input')) - .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-hover-download')) + .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-download')) // Click delete on the first torrent .then(() => app.client.click('.icon.delete')) .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-delete-prompt')) // Click cancel on the resulting confirmation dialog. Should be same as before. .then(() => app.client.click('.control.cancel')) - .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-hover')) + .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list')) // Click delete on the first torrent again .then(() => app.client.click('.icon.delete')) .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-delete-prompt')) @@ -63,9 +61,6 @@ test('torrent-list: expand torrent, unselect file', function (t) { const app = setup.createApp() setup.waitForLoad(app, t) .then(() => app.client.waitUntilTextExists('.torrent-list', 'Big Buck Bunny')) - // Mouse over the torrent - .then(() => app.client.moveToObject('#torrent-cosmos')) - .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-cosmos-hover')) // Click on the torrent, expand .then(() => app.client.click('#torrent-cosmos')) .then(() => setup.screenshotCreateOrCompare(app, t, 'torrent-list-cosmos-expand'))