Integration tests on Windows
@@ -1,6 +1,5 @@
|
||||
const appConfig = require('application-config')('WebTorrent')
|
||||
const fs = require('fs')
|
||||
const os = require('os')
|
||||
const path = require('path')
|
||||
const electron = require('electron')
|
||||
|
||||
@@ -10,7 +9,7 @@ const APP_VERSION = require('../package.json').version
|
||||
|
||||
const IS_TEST = isTest()
|
||||
const PORTABLE_PATH = IS_TEST
|
||||
? path.join(process.platform === 'win32' ? os.tmpdir() : '/tmp', 'WebTorrentTest')
|
||||
? path.join(process.platform === 'win32' ? 'C:\\Windows\\Temp' : '/tmp', 'WebTorrentTest')
|
||||
: path.join(path.dirname(process.execPath), 'Portable Settings')
|
||||
const IS_PORTABLE = isPortable()
|
||||
const IS_PRODUCTION = isProduction()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const path = require('path')
|
||||
const os = require('os')
|
||||
|
||||
const TEST_DIR = path.join(process.platform === 'win32' ? os.tmpdir() : '/tmp', 'WebTorrentTest')
|
||||
const TEMP_DIR = process.platform === 'win32' ? 'C:\\Windows\\Temp' : '/tmp'
|
||||
const TEST_DIR = path.join(TEMP_DIR, 'WebTorrentTest')
|
||||
const TEST_DIR_DOWNLOAD = path.join(TEST_DIR, 'Downloads')
|
||||
const TEST_DIR_DESKTOP = path.join(TEST_DIR, 'Desktop')
|
||||
|
||||
|
||||
BIN
test/screenshots/win32/add-torrent-0-percent.png
Normal file
|
After Width: | Height: | Size: 367 KiB |
BIN
test/screenshots/win32/app-basic.png
Normal file
|
After Width: | Height: | Size: 354 KiB |
BIN
test/screenshots/win32/create-torrent-100-percent.png
Normal file
|
After Width: | Height: | Size: 422 KiB |
BIN
test/screenshots/win32/create-torrent-advanced.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
test/screenshots/win32/create-torrent-simple.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
test/screenshots/win32/play-torrent-bbb.png
Normal file
|
After Width: | Height: | Size: 106 KiB |
BIN
test/screenshots/win32/play-torrent-return.png
Normal file
|
After Width: | Height: | Size: 251 KiB |
BIN
test/screenshots/win32/play-torrent-wired-2.png
Normal file
|
After Width: | Height: | Size: 158 KiB |
BIN
test/screenshots/win32/play-torrent-wired-3.png
Normal file
|
After Width: | Height: | Size: 158 KiB |
BIN
test/screenshots/win32/play-torrent-wired-4.png
Normal file
|
After Width: | Height: | Size: 158 KiB |
BIN
test/screenshots/win32/play-torrent-wired-5.png
Normal file
|
After Width: | Height: | Size: 158 KiB |
BIN
test/screenshots/win32/play-torrent-wired-fullscreen.png
Normal file
|
After Width: | Height: | Size: 406 KiB |
BIN
test/screenshots/win32/play-torrent-wired-list.png
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
test/screenshots/win32/play-torrent-wired.png
Normal file
|
After Width: | Height: | Size: 158 KiB |
BIN
test/screenshots/win32/prefs-basic.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
test/screenshots/win32/torrent-list-cosmos-delete-data.png
Normal file
|
After Width: | Height: | Size: 230 KiB |
BIN
test/screenshots/win32/torrent-list-cosmos-deleted.png
Normal file
|
After Width: | Height: | Size: 292 KiB |
BIN
test/screenshots/win32/torrent-list-cosmos-expand-deselect.png
Normal file
|
After Width: | Height: | Size: 381 KiB |
BIN
test/screenshots/win32/torrent-list-cosmos-expand-start.png
Normal file
|
After Width: | Height: | Size: 385 KiB |
BIN
test/screenshots/win32/torrent-list-cosmos-expand.png
Normal file
|
After Width: | Height: | Size: 381 KiB |
BIN
test/screenshots/win32/torrent-list-cosmos-hover.png
Normal file
|
After Width: | Height: | Size: 355 KiB |
BIN
test/screenshots/win32/torrent-list-delete-prompt.png
Normal file
|
After Width: | Height: | Size: 202 KiB |
BIN
test/screenshots/win32/torrent-list-deleted.png
Normal file
|
After Width: | Height: | Size: 251 KiB |
BIN
test/screenshots/win32/torrent-list-download-path-missing.png
Normal file
|
After Width: | Height: | Size: 360 KiB |
BIN
test/screenshots/win32/torrent-list-hover-download.png
Normal file
|
After Width: | Height: | Size: 354 KiB |
BIN
test/screenshots/win32/torrent-list-hover.png
Normal file
|
After Width: | Height: | Size: 354 KiB |
BIN
test/screenshots/win32/torrent-list-start-download.png
Normal file
|
After Width: | Height: | Size: 354 KiB |