Parameterize E2E Suite retries

This commit is contained in:
John Hill 2019-08-07 11:48:12 -04:00
parent 4f3f87ebc7
commit d5dd1719b6
2 changed files with 2 additions and 2 deletions

View File

@ -24,8 +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=chromeHeadless",
"e2e": "./test/e2e/runner.js --config ./test/e2e/nightwatch.conf.js --suiteRetries=2",
"e2e-no-retry": "./test/e2e/runner.js --config ./test/e2e/nightwatch.conf.js",
"e2e": "./test/e2e/runner.js --config ./test/e2e/nightwatch.conf.js --suiteRetries=${E2E_RETRIES}",
"headless-e2e": "./test/e2e/runner.js --config ./test/e2e/nightwatch.conf.js --env headless --suiteRetries=2",
"unit": "karma start test/unit/karma.unit.js",
"lint": "eslint .",

View File

@ -38,4 +38,5 @@ services:
environment:
AWX_E2E_CLUSTER_HOST: hub
AWX_E2E_CLUSTER_PORT: 4444
E2E_RETRIES: ${E2E_RETRIES}
DBUS_SESSION_BUS_ADDRESS: /dev/null