You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB

// http://nightwatchjs.org/guide#settings-file
module.exports = {
9 years ago
'src_folders': ['test/e2e/specs'],
'output_folder': 'test/e2e/reports',
'custom_commands_path': ['node_modules/nightwatch-helpers/commands'],
'custom_assertions_path': ['node_modules/nightwatch-helpers/assertions'],
9 years ago
'selenium': {
'start_process': true,
8 years ago
'server_path': 'node_modules/selenium-server/lib/runner/selenium-server-standalone-2.53.1.jar',
9 years ago
'host': '127.0.0.1',
'port': 4444,
'cli_args': {
'webdriver.chrome.driver': require('chromedriver').path
}
},
9 years ago
'test_settings': {
'default': {
'selenium_port': 4444,
'selenium_host': 'localhost',
'silent': true,
'screenshots': {
'enabled': true,
'on_failure': true,
'on_error': false,
'path': 'test/e2e/screenshots'
}
},
9 years ago
'chrome': {
'desiredCapabilities': {
'browserName': 'chrome',
'javascriptEnabled': true,
'acceptSslCerts': true
}
},
9 years ago
'firefox': {
'desiredCapabilities': {
'browserName': 'firefox',
'javascriptEnabled': true,
'acceptSslCerts': true
}
},
'phantomjs': {
'desiredCapabilities': {
'browserName': 'phantomjs',
'javascriptEnabled': true,
'acceptSslCerts': true
}
}
}
}