refactor app directory structure and add tests
This commit is contained in:
38
tests/nightwatch.json
Normal file
38
tests/nightwatch.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"src_folders" : ["tests"],
|
||||
"output_folder" : "reports",
|
||||
"custom_commands_path" : "",
|
||||
"custom_assertions_path" : "",
|
||||
"page_objects_path" : "",
|
||||
"globals_path" : "",
|
||||
|
||||
"selenium" : {
|
||||
"start_process" : true,
|
||||
"server_path" : "selenium/selenium-server-standalone-2.53.1.jar",
|
||||
"log_path" : "",
|
||||
"host" : "127.0.0.1",
|
||||
"port" : 4987,
|
||||
"cli_args" : {
|
||||
"webdriver.chrome.driver" : "",
|
||||
"webdriver.ie.driver" : ""
|
||||
}
|
||||
},
|
||||
|
||||
"test_settings" : {
|
||||
"default" : {
|
||||
"launch_url" : "file:///home/s2/Documents/Code/eclipse%20workspace/tasks/app/index.html",
|
||||
"selenium_port" : 4987,
|
||||
"selenium_host" : "localhost",
|
||||
"silent": true,
|
||||
"screenshots" : {
|
||||
"enabled" : true,
|
||||
"path" : "screenshots"
|
||||
},
|
||||
"desiredCapabilities": {
|
||||
"browserName": "firefox",
|
||||
"javascriptEnabled": true,
|
||||
"acceptSslCerts": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user