mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 23:18:03 -03:30
Merge pull request #3619 from ansible/headless
headless option added Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
commit
6b422d3bb7
@ -25,6 +25,7 @@
|
||||
"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",
|
||||
"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 .",
|
||||
"dev": "webpack --config build/webpack.development.js --progress",
|
||||
|
||||
@ -50,6 +50,20 @@ module.exports = {
|
||||
path: AWX_E2E_SCREENSHOTS_PATH,
|
||||
}
|
||||
},
|
||||
headless: {
|
||||
desiredCapabilities: {
|
||||
browserName: 'chrome',
|
||||
chromeOptions: {
|
||||
args: [
|
||||
'headless',
|
||||
'disable-web-security',
|
||||
'ignore-certificate-errors',
|
||||
'no-sandbox',
|
||||
'disable-gpu'
|
||||
]
|
||||
}
|
||||
},
|
||||
},
|
||||
// Note: These are environment-specific overrides to the default
|
||||
// test settings defined above.
|
||||
cluster: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user