mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-24 21:13:18 +00:00
Nightwatch uses Selenium, so we can run tests in real browsers. This makes it easier to test features that use the web cryptography API.
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"src_folders" : ["test"],
|
|
"output_folder" : "reports",
|
|
"custom_commands_path" : "",
|
|
"custom_assertions_path" : "",
|
|
"page_objects_path" : "",
|
|
"globals_path" : "",
|
|
"test_runner" : "mocha",
|
|
"selenium" : {
|
|
"start_process" : true,
|
|
"server_path" : "test/acceptance/bin/selenium-server-standalone-2.52.0.jar",
|
|
"log_path" : false,
|
|
"host" : "127.0.0.1",
|
|
"port" : 4444,
|
|
"cli_args" : {
|
|
"webdriver.chrome.driver" : "/usr/bin/chromedriver",
|
|
"webdriver.ie.driver" : ""
|
|
}
|
|
},
|
|
|
|
"test_settings" : {
|
|
"default" : {
|
|
"launch_url" : "http://localhost",
|
|
"selenium_port" : 4444,
|
|
"selenium_host" : "localhost",
|
|
"silent": true,
|
|
"screenshots" : {
|
|
"enabled" : false,
|
|
"path" : ""
|
|
},
|
|
"desiredCapabilities": {
|
|
"browserName": "firefox",
|
|
"javascriptEnabled": true,
|
|
"acceptSslCerts": true
|
|
}
|
|
},
|
|
|
|
"chrome" : {
|
|
"desiredCapabilities": {
|
|
"browserName": "chrome",
|
|
"javascriptEnabled": true,
|
|
"acceptSslCerts": true,
|
|
"chromeOptions" : {
|
|
"args" : ["-e", "--no-sandbox"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|