Skip to content

Instantly share code, notes, and snippets.

@abhaybhargav
Created April 14, 2018 14:00
Show Gist options
  • Save abhaybhargav/a9e41eb5049f7ebd5b71265b24e5baec to your computer and use it in GitHub Desktop.
Save abhaybhargav/a9e41eb5049f7ebd5b71265b24e5baec to your computer and use it in GitHub Desktop.
ZAP Specific Settings in the main nightwatch.conf.js file
//These are ZAP Specific Settings
const OTHER_SETTINGS = {
zap_jrpc_server: "http://localhost:4000/jsonrpc",
zap_report_path: "/Users/abhaybhargav/Documents/Code/node/nightwatch_zap/report.json",
zap_report_format: "json",
test_report_title: "ZAP Test for weCare Application",
test_report_author: "Abhay Bhargav",
zap_policy_name: "Light"
};
module.exports = {
src_folders: ['tests'],
selenium: SELENIUM_CONFIGURATION,
test_settings: ENVIRONMENTS,
other_settings: OTHER_SETTINGS //ZAP Settings
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment