Producing trace-level geckodriver logs in test/results/logs - for debugging failing functional tests in CI
This commit is contained in:
Родитель
3fc9ac3a20
Коммит
cdee692ec9
|
@ -84,4 +84,4 @@ jobs:
|
|||
command: FIREFOX_BINARY=/home/circleci/checkout/firefox-nightly/firefox-bin npm run test:func
|
||||
|
||||
- store_test_results:
|
||||
path: "test/coverage"
|
||||
path: "test/results"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
dist/*
|
||||
node_modules/
|
||||
.env
|
||||
test/coverage
|
||||
/firefox-*
|
||||
|
|
|
@ -17,7 +17,7 @@ module.exports = function(config) {
|
|||
frameworks: ["mocha", "chai"],
|
||||
reporters,
|
||||
istanbulReporter: {
|
||||
dir: "test/coverage",
|
||||
dir: "test/results/coverage",
|
||||
reporters: [
|
||||
{
|
||||
type: "lcov",
|
||||
|
|
|
@ -11665,9 +11665,8 @@
|
|||
"dev": true
|
||||
},
|
||||
"shield-studies-addon-utils": {
|
||||
"version": "5.0.3",
|
||||
"resolved": "https://registry.npmjs.org/shield-studies-addon-utils/-/shield-studies-addon-utils-5.0.3.tgz",
|
||||
"integrity": "sha512-3e5B+NpcT8CnpgRVc0x+QGk9KiUAq4axgAoBqc/U6tpOFfjDM08MInDLK5Qc35YfgLp9A0t/1J9UQvIIqpZ/BA==",
|
||||
"version": "github:mozilla/shield-studies-addon-utils#4fdba4a64b9afd46a650cdcb119125739990b108",
|
||||
"from": "github:mozilla/shield-studies-addon-utils#release/5.0.4",
|
||||
"requires": {
|
||||
"ajv": "^6.5.0",
|
||||
"commander": "^2.15.1",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"url": "https://github.com/mozilla/shield-studies-addon-template/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"shield-studies-addon-utils": "5.0.3"
|
||||
"shield-studies-addon-utils": "github:mozilla/shield-studies-addon-utils#release/5.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.26.3",
|
||||
|
@ -88,7 +88,9 @@
|
|||
"sign": "echo 'TBD, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1407757'",
|
||||
"start": "web-ext run --no-reload",
|
||||
"test": "npm-run-all -n test:unit test:func",
|
||||
"test:func": "FIREFOX_BINARY=${FIREFOX_BINARY:-nightly} ADDON_ZIP=./dist/button_icon_preference_-_shield_study_example-2.0.0.zip mocha test/functional/ --bail",
|
||||
"test:func": "npm-run-all -pr test:func:*",
|
||||
"test:func:start-geckodriver-server": "geckodriver -vv 1> test/results/logs/geckodriver.log 2> test/results/logs/geckodriver.errors.log",
|
||||
"test:func:selenium-mocha": "FIREFOX_BINARY=${FIREFOX_BINARY:-nightly} ADDON_ZIP=./dist/button_icon_preference_-_shield_study_example-2.0.0.zip GECKODRIVER_URL=http://127.0.0.1:4444 mocha test/functional/ --bail --full-trace",
|
||||
"test:unit": "NODE_ENV=test karma start",
|
||||
"watch": "web-ext run"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
Загрузка…
Ссылка в новой задаче