137 lines
3.9 KiB
JSON
137 lines
3.9 KiB
JSON
{
|
|
"starrynight": {
|
|
"version": "3.7.0"
|
|
},
|
|
"nightwatch": {
|
|
"version": "0.8.6"
|
|
},
|
|
"src_folders": [
|
|
"./tests/nightwatch/walkthroughs"
|
|
],
|
|
"output_folder": "./tests/nightwatch/reports",
|
|
"custom_commands_path": [
|
|
"./tests/nightwatch/commands",
|
|
"./tests/nightwatch/commands/api/meteor",
|
|
"./tests/nightwatch/commands/actions",
|
|
"./tests/nightwatch/commands/components",
|
|
"./tests/nightwatch/commands/methods"
|
|
],
|
|
"custom_assertions_path": [
|
|
"./tests/nightwatch/assertions"
|
|
],
|
|
"globals_path": "./tests/nightwatch/globals.json",
|
|
"selenium": {
|
|
"start_process": true,
|
|
"server_path": "${npm_config_prefix}/lib/node_modules/starrynight/node_modules/selenium-server-standalone-jar/jar/selenium-server-standalone-2.45.0.jar",
|
|
"log_path": "tests/nightwatch/logs",
|
|
"host": "127.0.0.1",
|
|
"port": 4444,
|
|
"cli_args": {
|
|
"webdriver.chrome.driver": "${npm_config_prefix}/lib/node_modules/starrynight/node_modules/chromedriver/bin/chromedriver"
|
|
}
|
|
},
|
|
"test_settings": {
|
|
"default": {
|
|
"launch_url": "http://localhost:5000",
|
|
"selenium_host": "127.0.0.1",
|
|
"selenium_port": 4444,
|
|
"pathname": "/wd/hub",
|
|
"silent": true,
|
|
"disable_colors": false,
|
|
"firefox_profile": false,
|
|
"ie_driver": "",
|
|
"screenshots": {
|
|
"enabled": false,
|
|
"path": "./tests/nightwatch/screenshots"
|
|
},
|
|
"desiredCapabilities": {
|
|
"browserName": "chrome",
|
|
"javascriptEnabled": true,
|
|
"acceptSslCerts": true,
|
|
"loggingPrefs": {
|
|
"browser": "ALL"
|
|
}
|
|
},
|
|
"exclude": "./tests/nightwatch/unittests/*"
|
|
},
|
|
"phantomjs": {
|
|
"desiredCapabilities": {
|
|
"browserName": "phantomjs",
|
|
"javascriptEnabled": true,
|
|
"databaseEnabled": false,
|
|
"locationContextEnabled": false,
|
|
"applicationCacheEnabled": false,
|
|
"browserConnectionEnabled": false,
|
|
"webStorageEnabled": false,
|
|
"acceptSslCerts": true,
|
|
"rotatable": false,
|
|
"nativeEvents": false,
|
|
"phantomjs.binary.path": "${npm_config_prefix}/lib/node_modules/starrynight/node_modules/phantomjs/bin/phantomjs"
|
|
}
|
|
},
|
|
"travis": {
|
|
"launch_url": "http://localhost:3000",
|
|
"selenium_host": "127.0.0.1",
|
|
"selenium_port": 4444,
|
|
"pathname": "/wd/hub",
|
|
"silent": true,
|
|
"disable_colors": false,
|
|
"firefox_profile": false,
|
|
"screenshots": {
|
|
"enabled": false,
|
|
"path": "./tests/nightwatch/screenshots"
|
|
},
|
|
"desiredCapabilities": {
|
|
"browserName": "firefox",
|
|
"javascriptEnabled": true,
|
|
"databaseEnabled": true,
|
|
"locationContextEnabled": true,
|
|
"applicationCacheEnabled": true,
|
|
"browserConnectionEnabled": true,
|
|
"webStorageEnabled": true,
|
|
"acceptSslCerts": true,
|
|
"rotatable": true,
|
|
"nativeEvents": true
|
|
}
|
|
},
|
|
"travischrome": {
|
|
"launch_url": "http://localhost:3000",
|
|
"selenium_host": "127.0.0.1",
|
|
"selenium_port": 4444,
|
|
"pathname": "/wd/hub",
|
|
"silent": true,
|
|
"disable_colors": false,
|
|
"firefox_profile": false,
|
|
"screenshots": {
|
|
"enabled": false,
|
|
"path": "./tests/nightwatch/screenshots"
|
|
},
|
|
"desiredCapabilities": {
|
|
"browserName": "chrome",
|
|
"javascriptEnabled": true,
|
|
"databaseEnabled": true,
|
|
"locationContextEnabled": true,
|
|
"applicationCacheEnabled": true,
|
|
"browserConnectionEnabled": true,
|
|
"webStorageEnabled": true,
|
|
"acceptSslCerts": true,
|
|
"rotatable": true,
|
|
"nativeEvents": true,
|
|
"chromeOptions": {
|
|
"args": [
|
|
"--no-sandbox"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"unittests": {
|
|
"selenium": {
|
|
"start_process": false,
|
|
"start_session": false
|
|
},
|
|
"filter": "./tests/nightwatch/unittests/*",
|
|
"exclude": ""
|
|
}
|
|
}
|
|
}
|