rm selenium

pull/4837/head
bunsenstraat 8 months ago
parent 00bda4c30f
commit 014b5f5ee9
  1. 7
      apps/remixdesktop/package.json
  2. 10
      apps/remixdesktop/selenium-linux.config.js
  3. 15
      apps/remixdesktop/selenium-mac.config.js
  4. 10
      apps/remixdesktop/selenium-win.config.js
  5. 13
      apps/remixdesktop/test/nighwatch.app.ts

@ -28,14 +28,9 @@
"installRipGrepMacOXx64": "rm -rf node_modules/@vscode/ripgrep/bin && npm_config_arch=x64 node node_modules/@vscode/ripgrep/lib/postinstall.js",
"installRipGrepMacOXarm64": "rm -rf node_modules/@vscode/ripgrep/bin && npm_config_arch=arm64 node node_modules/@vscode/ripgrep/lib/postinstall.js",
"postinstall": "electron-builder install-app-deps",
"selenium-install-linux": "selenium-standalone install --drivers.chrome.version=116.0.5845.228 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com",
"selenium-install-win": "selenium-standalone install --drivers.chrome.version=116.0.5845.228 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com",
"selenium-install-mac": "selenium-standalone install --drivers.chromiumedge.version=114.0.1788.0 --drivers.chrome.version=114.0.1788.0 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com",
"selenium-linux": "selenium-standalone start --config=./selenium-linux.config.js",
"selenium-mac": "selenium-standalone start --config=./selenium-mac.config.js",
"selenium-win": "selenium-standalone start --config=./selenium-win.config.js",
"test:app:linuxlocal": "yarn run build:e2e && nightwatch --config build-e2e/remixdesktop/test/nighwatch.app.js --env=linuxlocal",
"test:app:maclocal": "yarn run build:e2e && nightwatch --config build-e2e/remixdesktop/test/nighwatch.app.js --env=maclocal",
"test:app:maclocalarm64": "yarn run build:e2e && nightwatch --config build-e2e/remixdesktop/test/nighwatch.app.js --env=maclocalarm64",
"test:app:winlocal": "yarn run build:e2e && nightwatch --config build-e2e/remixdesktop/test/nighwatch.app.js --env=winlocal",
"test:app:linux": "yarn run build:e2e && nightwatch --config build-e2e/remixdesktop/test/nighwatch.app.js --env=linux",
"test:app:mac": "yarn run build:e2e && nightwatch --config build-e2e/remixdesktop/test/nighwatch.app.js --env=mac",

@ -1,10 +0,0 @@
module.exports = {
baseURL: 'https://selenium-release.storage.googleapis.com',
drivers: {
chrome: {
version: '116.0.5845.228',
arch: process.arch,
baseURL: 'https://chromedriver.storage.googleapis.com'
}
}
}

@ -1,15 +0,0 @@
module.exports = {
baseURL: 'https://selenium-release.storage.googleapis.com',
drivers: {
chrome: {
version: '114.0.1788.0',
arch: process.arch,
baseURL: 'https://chromedriver.storage.googleapis.com'
},
chromiumedge: {
version: '114.0.1788.0',
arch: process.arch,
baseURL: 'https://msedgedriver.azureedge.net/'
}
}
}

@ -1,10 +0,0 @@
module.exports = {
baseURL: 'https://selenium-release.storage.googleapis.com',
drivers: {
chrome: {
version: '116.0.5845.96-win32',
arch: process.arch,
baseURL: 'https://chromedriver.storage.googleapis.com'
}
}
}

@ -40,6 +40,19 @@ module.exports = {
}
}
},
maclocalarm64: {
desiredCapabilities: {
browserName: 'chrome',
javascriptEnabled: true,
acceptSslCerts: true,
'goog:chromeOptions': {
"binary": "release/mac-arm64/Remix-Desktop.app/Contents/MacOS/Remix-Desktop",
"args": [
"--e2e-local",
]
}
}
},
linuxlocal: {
desiredCapabilities: {
browserName: 'chrome',

Loading…
Cancel
Save