mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 22:07:36 -02:30
Parameterize E2E Suite retries
This commit is contained in:
@@ -24,8 +24,7 @@
|
|||||||
"test": "karma start test/spec/karma.spec.js",
|
"test": "karma start test/spec/karma.spec.js",
|
||||||
"jshint": "grunt jshint:source --no-color",
|
"jshint": "grunt jshint:source --no-color",
|
||||||
"test:ci": "npm run test -- --single-run --reporter junit,dots --browsers=chromeHeadless",
|
"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": "./test/e2e/runner.js --config ./test/e2e/nightwatch.conf.js --suiteRetries=${E2E_RETRIES}",
|
||||||
"e2e-no-retry": "./test/e2e/runner.js --config ./test/e2e/nightwatch.conf.js",
|
|
||||||
"headless-e2e": "./test/e2e/runner.js --config ./test/e2e/nightwatch.conf.js --env headless --suiteRetries=2",
|
"headless-e2e": "./test/e2e/runner.js --config ./test/e2e/nightwatch.conf.js --env headless --suiteRetries=2",
|
||||||
"unit": "karma start test/unit/karma.unit.js",
|
"unit": "karma start test/unit/karma.unit.js",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
|
|||||||
@@ -38,4 +38,5 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
AWX_E2E_CLUSTER_HOST: hub
|
AWX_E2E_CLUSTER_HOST: hub
|
||||||
AWX_E2E_CLUSTER_PORT: 4444
|
AWX_E2E_CLUSTER_PORT: 4444
|
||||||
|
E2E_RETRIES: ${E2E_RETRIES}
|
||||||
DBUS_SESSION_BUS_ADDRESS: /dev/null
|
DBUS_SESSION_BUS_ADDRESS: /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user