refactor e2e settings and config modules

This should make the settings and configuration logic less implicit and
a little easier to follow. Some familiarity with the configuration behavior
of nightwatch is still necessary in places - specifically, one should know
that all test_settings defined for non-default environments are treated as
overrides to the values defined for the default environment.
This commit is contained in:
Jake McDermott
2017-10-25 10:27:39 -04:00
parent d70a0c8c24
commit 3800a16f3e
12 changed files with 87 additions and 62 deletions

View File

@@ -24,7 +24,7 @@
"test": "karma start test/spec/karma.spec.js",
"jshint": "grunt jshint:source --no-color",
"test:ci": "npm run test -- --single-run --reporter junit,dots --browsers=PhantomJS",
"e2e": "./test/e2e/runner.js --config ./test/e2e/nightwatch.conf.js",
"e2e": "./test/e2e/runner.js --config ./test/e2e/nightwatch.conf.js --suiteRetries=2",
"unit": "karma start test/unit/karma.unit.js",
"lint": "eslint .",
"dev": "webpack --config build/webpack.development.js --progress",