|
|
@ -3,43 +3,43 @@ var config = require('../../config')
|
|
|
|
|
|
|
|
|
|
|
|
// http://nightwatchjs.org/guide#settings-file
|
|
|
|
// http://nightwatchjs.org/guide#settings-file
|
|
|
|
module.exports = {
|
|
|
|
module.exports = {
|
|
|
|
"src_folders": ["test/e2e/specs"],
|
|
|
|
'src_folders': ['test/e2e/specs'],
|
|
|
|
"output_folder": "test/e2e/reports",
|
|
|
|
'output_folder': 'test/e2e/reports',
|
|
|
|
"custom_assertions_path": ["test/e2e/custom-assertions"],
|
|
|
|
'custom_assertions_path': ['test/e2e/custom-assertions'],
|
|
|
|
|
|
|
|
|
|
|
|
"selenium": {
|
|
|
|
'selenium': {
|
|
|
|
"start_process": true,
|
|
|
|
'start_process': true,
|
|
|
|
"server_path": "node_modules/selenium-server/lib/runner/selenium-server-standalone-2.53.1.jar",
|
|
|
|
'server_path': 'node_modules/selenium-server/lib/runner/selenium-server-standalone-2.53.1.jar',
|
|
|
|
"host": "127.0.0.1",
|
|
|
|
'host': '127.0.0.1',
|
|
|
|
"port": 4444,
|
|
|
|
'port': 4444,
|
|
|
|
"cli_args": {
|
|
|
|
'cli_args': {
|
|
|
|
"webdriver.chrome.driver": require('chromedriver').path
|
|
|
|
'webdriver.chrome.driver': require('chromedriver').path
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"test_settings": {
|
|
|
|
'test_settings': {
|
|
|
|
"default": {
|
|
|
|
'default': {
|
|
|
|
"selenium_port": 4444,
|
|
|
|
'selenium_port': 4444,
|
|
|
|
"selenium_host": "localhost",
|
|
|
|
'selenium_host': 'localhost',
|
|
|
|
"silent": true,
|
|
|
|
'silent': true,
|
|
|
|
"globals": {
|
|
|
|
'globals': {
|
|
|
|
"devServerURL": "http://localhost:" + (process.env.PORT || config.dev.port)
|
|
|
|
'devServerURL': 'http://localhost:' + (process.env.PORT || config.dev.port)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"chrome": {
|
|
|
|
'chrome': {
|
|
|
|
"desiredCapabilities": {
|
|
|
|
'desiredCapabilities': {
|
|
|
|
"browserName": "chrome",
|
|
|
|
'browserName': 'chrome',
|
|
|
|
"javascriptEnabled": true,
|
|
|
|
'javascriptEnabled': true,
|
|
|
|
"acceptSslCerts": true
|
|
|
|
'acceptSslCerts': true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"firefox": {
|
|
|
|
'firefox': {
|
|
|
|
"desiredCapabilities": {
|
|
|
|
'desiredCapabilities': {
|
|
|
|
"browserName": "firefox",
|
|
|
|
'browserName': 'firefox',
|
|
|
|
"javascriptEnabled": true,
|
|
|
|
'javascriptEnabled': true,
|
|
|
|
"acceptSslCerts": true
|
|
|
|
'acceptSslCerts': true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|