diff --git a/test/screenshots/win32/add-torrent-0-percent.png b/test/screenshots/win32/add-torrent-0-percent.png index e835effb..e9dce961 100644 Binary files a/test/screenshots/win32/add-torrent-0-percent.png and b/test/screenshots/win32/add-torrent-0-percent.png differ diff --git a/test/screenshots/win32/add-torrent-100-percent.png b/test/screenshots/win32/add-torrent-100-percent.png index 4c38cc59..5a5a0275 100644 Binary files a/test/screenshots/win32/add-torrent-100-percent.png and b/test/screenshots/win32/add-torrent-100-percent.png differ diff --git a/test/screenshots/win32/app-basic.png b/test/screenshots/win32/app-basic.png index fc616f4e..cd536ecc 100644 Binary files a/test/screenshots/win32/app-basic.png and b/test/screenshots/win32/app-basic.png differ diff --git a/test/screenshots/win32/create-torrent-100-percent.png b/test/screenshots/win32/create-torrent-100-percent.png index d6ca4952..87b4d810 100644 Binary files a/test/screenshots/win32/create-torrent-100-percent.png and b/test/screenshots/win32/create-torrent-100-percent.png differ diff --git a/test/screenshots/win32/create-torrent-advanced.png b/test/screenshots/win32/create-torrent-advanced.png index 77cc0ec6..333bb32c 100644 Binary files a/test/screenshots/win32/create-torrent-advanced.png and b/test/screenshots/win32/create-torrent-advanced.png differ diff --git a/test/screenshots/win32/create-torrent-simple.png b/test/screenshots/win32/create-torrent-simple.png index 305e1755..2834984e 100644 Binary files a/test/screenshots/win32/create-torrent-simple.png and b/test/screenshots/win32/create-torrent-simple.png differ diff --git a/test/screenshots/win32/play-torrent-bbb.png b/test/screenshots/win32/play-torrent-bbb.png index 41f104b9..e8510c11 100644 Binary files a/test/screenshots/win32/play-torrent-bbb.png and b/test/screenshots/win32/play-torrent-bbb.png differ diff --git a/test/screenshots/win32/play-torrent-return.png b/test/screenshots/win32/play-torrent-return.png index 254bb0d7..ed2c381f 100644 Binary files a/test/screenshots/win32/play-torrent-return.png and b/test/screenshots/win32/play-torrent-return.png differ diff --git a/test/screenshots/win32/play-torrent-wired-5.png b/test/screenshots/win32/play-torrent-wired-5.png index 15d66d22..22a9a47c 100644 Binary files a/test/screenshots/win32/play-torrent-wired-5.png and b/test/screenshots/win32/play-torrent-wired-5.png differ diff --git a/test/screenshots/win32/play-torrent-wired-list.png b/test/screenshots/win32/play-torrent-wired-list.png index 930f6233..16a48218 100644 Binary files a/test/screenshots/win32/play-torrent-wired-list.png and b/test/screenshots/win32/play-torrent-wired-list.png differ diff --git a/test/screenshots/win32/play-torrent-wired.png b/test/screenshots/win32/play-torrent-wired.png index 319bd8dc..920ee941 100644 Binary files a/test/screenshots/win32/play-torrent-wired.png and b/test/screenshots/win32/play-torrent-wired.png differ diff --git a/test/screenshots/win32/prefs-basic.png b/test/screenshots/win32/prefs-basic.png index 8d60d682..a53ed6b3 100644 Binary files a/test/screenshots/win32/prefs-basic.png and b/test/screenshots/win32/prefs-basic.png differ diff --git a/test/screenshots/win32/torrent-list-cosmos-delete-data.png b/test/screenshots/win32/torrent-list-cosmos-delete-data.png index 46867f11..12ed0070 100644 Binary files a/test/screenshots/win32/torrent-list-cosmos-delete-data.png and b/test/screenshots/win32/torrent-list-cosmos-delete-data.png differ diff --git a/test/screenshots/win32/torrent-list-cosmos-deleted.png b/test/screenshots/win32/torrent-list-cosmos-deleted.png index 3c8bb78b..58bcf3b7 100644 Binary files a/test/screenshots/win32/torrent-list-cosmos-deleted.png and b/test/screenshots/win32/torrent-list-cosmos-deleted.png differ diff --git a/test/screenshots/win32/torrent-list-cosmos-expand-deselect.png b/test/screenshots/win32/torrent-list-cosmos-expand-deselect.png index 118c2ef0..2956861a 100644 Binary files a/test/screenshots/win32/torrent-list-cosmos-expand-deselect.png and b/test/screenshots/win32/torrent-list-cosmos-expand-deselect.png differ diff --git a/test/screenshots/win32/torrent-list-cosmos-expand-start.png b/test/screenshots/win32/torrent-list-cosmos-expand-start.png index e9782852..93a25f7b 100644 Binary files a/test/screenshots/win32/torrent-list-cosmos-expand-start.png and b/test/screenshots/win32/torrent-list-cosmos-expand-start.png differ diff --git a/test/screenshots/win32/torrent-list-cosmos-expand.png b/test/screenshots/win32/torrent-list-cosmos-expand.png index 2f3b4d03..f974028d 100644 Binary files a/test/screenshots/win32/torrent-list-cosmos-expand.png and b/test/screenshots/win32/torrent-list-cosmos-expand.png differ diff --git a/test/screenshots/win32/torrent-list-cosmos-hover.png b/test/screenshots/win32/torrent-list-cosmos-hover.png index 21b7c010..c39015e3 100644 Binary files a/test/screenshots/win32/torrent-list-cosmos-hover.png and b/test/screenshots/win32/torrent-list-cosmos-hover.png differ diff --git a/test/screenshots/win32/torrent-list-delete-prompt.png b/test/screenshots/win32/torrent-list-delete-prompt.png index e67168a2..e580cc2e 100644 Binary files a/test/screenshots/win32/torrent-list-delete-prompt.png and b/test/screenshots/win32/torrent-list-delete-prompt.png differ diff --git a/test/screenshots/win32/torrent-list-deleted.png b/test/screenshots/win32/torrent-list-deleted.png index 254bb0d7..ed2c381f 100644 Binary files a/test/screenshots/win32/torrent-list-deleted.png and b/test/screenshots/win32/torrent-list-deleted.png differ diff --git a/test/screenshots/win32/torrent-list-download-path-missing.png b/test/screenshots/win32/torrent-list-download-path-missing.png index b94d3597..45b5e4fb 100644 Binary files a/test/screenshots/win32/torrent-list-download-path-missing.png and b/test/screenshots/win32/torrent-list-download-path-missing.png differ diff --git a/test/screenshots/win32/torrent-list-hover-download.png b/test/screenshots/win32/torrent-list-hover-download.png index c5944b8f..28107033 100644 Binary files a/test/screenshots/win32/torrent-list-hover-download.png and b/test/screenshots/win32/torrent-list-hover-download.png differ diff --git a/test/screenshots/win32/torrent-list-hover.png b/test/screenshots/win32/torrent-list-hover.png index fe95bff8..0c9bb4ee 100644 Binary files a/test/screenshots/win32/torrent-list-hover.png and b/test/screenshots/win32/torrent-list-hover.png differ diff --git a/test/screenshots/win32/torrent-list-start-download.png b/test/screenshots/win32/torrent-list-start-download.png index a2d30f16..de3c4f08 100644 Binary files a/test/screenshots/win32/torrent-list-start-download.png and b/test/screenshots/win32/torrent-list-start-download.png differ diff --git a/test/setup.js b/test/setup.js index 4f042cce..81015103 100644 --- a/test/setup.js +++ b/test/setup.js @@ -131,7 +131,7 @@ function compareIgnoringTransparency (bufActual, bufExpected) { const rms = Math.sqrt(sumSquareDiff / (numDiff + 1)) const l2Distance = Math.round(Math.sqrt(sumSquareDiff)) console.log('screenshot diff l2 distance: ' + l2Distance + ', rms: ' + rms) - return l2Distance < 4000 && rms < 100 + return l2Distance < 5000 && rms < 100 } // Resets the test directory, containing config.json, torrents, downloads, etc