Running in dev edition by default
This commit is contained in:
Родитель
fb4953da98
Коммит
bfaa3fd143
|
@ -112,10 +112,10 @@
|
|||
"start": "npm run test:manual",
|
||||
"test": "npm-run-all -n test:unit # test:func",
|
||||
"test:func": "npm-run-all -pr test:func:*",
|
||||
"test:func:selenium-mocha": "FIREFOX_BINARY=${FIREFOX_BINARY:-nightly} ADDON_ZIP=./dist/jestr_pioneer_shield_study-$npm_package_version.zip GECKODRIVER_URL=http://127.0.0.1:4444 mocha test/functional/ --bail --full-trace",
|
||||
"test:func:selenium-mocha": "FIREFOX_BINARY=${FIREFOX_BINARY:-firefoxdeveloperedition} ADDON_ZIP=./dist/jestr_pioneer_shield_study-$npm_package_version.zip GECKODRIVER_URL=http://127.0.0.1:4444 mocha test/functional/ --bail --full-trace",
|
||||
"test:func:start-geckodriver-server": "geckodriver -vv 1> test/results/logs/geckodriver.log 2> test/results/logs/geckodriver.errors.log",
|
||||
"test:manual": "npm-run-all -pr test:func:start-geckodriver-server test:run-firefox",
|
||||
"test:run-firefox": "FIREFOX_BINARY=${FIREFOX_BINARY:-nightly} ADDON_ZIP=./dist/jestr_pioneer_shield_study-$npm_package_version.zip GECKODRIVER_URL=http://127.0.0.1:4444 node run-firefox.js",
|
||||
"test:run-firefox": "FIREFOX_BINARY=${FIREFOX_BINARY:-firefoxdeveloperedition} ADDON_ZIP=./dist/jestr_pioneer_shield_study-$npm_package_version.zip GECKODRIVER_URL=http://127.0.0.1:4444 node run-firefox.js",
|
||||
"test:unit": "NODE_ENV=test karma start",
|
||||
"watch": "echo \"Watch is disabled since Pioneer Opt-in add-on needs to be available in the empty profile and web-ext thus is not an option\" # concurrently 'webpack --watch' 'web-ext run'"
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ const defaultConfig = {
|
|||
overwriteDest: true,
|
||||
},
|
||||
run: {
|
||||
firefox: process.env.FIREFOX_BINARY || "nightly",
|
||||
firefox: process.env.FIREFOX_BINARY || "firefoxdeveloperedition",
|
||||
browserConsole: true,
|
||||
startUrl: ["about:debugging"],
|
||||
pref: [
|
||||
|
|
Загрузка…
Ссылка в новой задаче