ae-biu
Version:
Born For AE, Born To Do
61 lines (55 loc) • 1.36 kB
JavaScript
// nightwatch 默认配置
export default {
'default_browser': 'chrome',
'src_folders': ['src/e2e/specs'],
'exclude': ['src/e2e/*.config.js'],
'output_folder': 'e2e-reports',
'custom_commands_path': '',
'custom_assertions_path': '',
'page_objects_path': '',
'globals_path': '',
'selenium': {
'start_process': true,
'server_path': '',
'log_path': '',
'host': '127.0.0.1',
'port': 4444,
'cli_args': {
'webdriver.chrome.driver': '',
'webdriver.ie.driver': ''
}
},
'test_settings': {
'default': {
'launch_url': 'http://localhost',
'selenium_port': 4444,
'selenium_host': 'localhost',
'silent': true,
'screenshots': {
'enabled': false,
'path': ''
},
// https://github.com/SeleniumHQ/selenium/wiki/DesiredCapabilities
'desiredCapabilities': {
'browserName': 'chrome',
'javascriptEnabled': true,
'acceptSslCerts': true,
'phantomjs.binary.path': ''
}
},
'chrome': {
'desiredCapabilities': {
'browserName': 'chrome',
'javascriptEnabled': true,
'acceptSslCerts': true
}
},
'ie': {
'desiredCapabilities': {
'browserName': 'internet explorer',
'javascriptEnabled': true,
'acceptSslCerts': true
}
}
}
}