UNPKG

nightwatch

Version:

Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.

99 lines (89 loc) 2.34 kB
{ "src_folders" : ["./examples/tests", "./examples/mocha", "./examples/unittests"], "output_folder" : "./examples/reports", "custom_commands_path" : "./examples/custom-commands", "custom_assertions_path" : "./examples/custom-assertions", "page_objects_path" : "./examples/pages", "globals_path" : "./examples/globalsModule.js", "disable_colors": false, "test_workers" : false, "webdriver" : { "start_process": false, "host": "localhost", "port": 4444 }, "test_settings" : { "default" : { "webdriver": { "server_path": "./bin/geckodriver-0.20", "cli_args": [ "--log", "debug" ] }, "disable_colors": false, "screenshots" : { "enabled" : false, "path" : "" }, "request_timeout_options": { "timeout": 60000, "retry_attempts": 5 }, "filter": ["./examples/tests"], "desiredCapabilities" : { "browserName" : "firefox", "acceptInsecureCerts" : true } }, "chrome" : { "webdriver": { "port": 9515, "default_path_prefix": "", "server_path": "./bin/chromedriver-2.32", "cli_args": [ "--verbose" ] }, "desiredCapabilities" : { "browserName" : "chrome", "loggingPrefs": {"driver": "INFO", "server": "OFF", "browser": "INFO"} } }, "unit_tests" : { "unit_tests_mode" : true, "filter" : "./examples/unittests/*", "exclude" : "" }, "mocha" : { "webdriver" : { "default_path_prefix": "", "server_path": "./bin/chromedriver-2.32", "cli_args": [ "--verbose" ] }, "desiredCapabilities" : { "browserName" : "chrome" }, "test_runner" : { "type" : "mocha" } }, "selenium_server" : { "selenium" : { "start_process": true, "host": "localhost", "port": 4444, "server_path": "./bin/selenium-server-standalone-3.10.0.jar", "cli_args": { "webdriver.gecko.driver": "./bin/geckodriver-0.19", "webdriver.chrome.driver": "./bin/chromedriver-2.32" } }, "desiredCapabilities" : { "browserName" : "firefox", "acceptSslCerts": true } } } }