-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
22 lines (20 loc) · 925 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
let env = process.env.BS_ENV;
module.exports = {
ARGS: process.env, // grabs the process arguments
DEAFAULT_PATHS: ["/"], // default path just checks the homepage as a quick smoke test
CUSTOM_SCRIPTS_PATHS: process.cwd() + "/backstop_data/engine_scripts/puppet/",
// env argument will capture the environment URL
// if you use one of the options below to pass in, e.g. --env=uat
ENVIRONMENTS: {
"orb": "http://automationpractice.com/index.php",
"uat": "http://automationpractice.com/index.php",
"prod": "http://automationpractice.com/index.php"
},
DEFAULT_ENVIRONMENT: "prod",
SAVE_DIRECTORIES: {
"bitmaps_reference": "./backstop_data/" + env + "_reference",
"bitmaps_test": "./backstop_data/" + env + "_test",
"html_report": "./backstop_data/" + env + "_html_report",
"ci_report": "./backstop_data/" + env + "_ci_report"
}
};