Skip to content

Instantly share code, notes, and snippets.

@deb1990
Last active May 4, 2017 10:54
Show Gist options
  • Save deb1990/6e77fe15f41717920eeadb4dc4ce0c5a to your computer and use it in GitHub Desktop.
Save deb1990/6e77fe15f41717920eeadb4dc4ce0c5a to your computer and use it in GitHub Desktop.
Backstop JS setup for custom logins
{
"scenarios": [
{
"label": "<>",
"url": "<>",
"onReadyScript": "<>",
"credentials": "Do not mention this property if it uses default credentials, otherwise mention 'manager'/'stuff'/etc"
}
]
}
{
"url": "http://%{site-host}",
"credentials": {
"default": {
"name": "%{user-name}",
"pass": "%{user-password}"
},
"manager": {
"name": "civihr_manager",
"pass": "civihr_manager"
},
"stuff": {
"name": "civihr_stuff",
"pass": "civihr_stuff"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment