this repository is the tool to monitor the visual regression.
You just write the url you want to monitor in backstop.json (scenarios.url, scenarios.label).
ex.
"scenarios": [
{
"label": "basic",
"url": "https://www.amazon.co.jp/s?k=github"
}
]
If you want to execute a specific script, add a key and value.
"scenarios": [
{
"label": "basic",
"url": "https://www.amazon.co.jp/s?k=github",
"onReadyScript": "puppet/onReadyInSearch.js"
}
]
$ npm install
$ npm run reference
$ npm test
Set environments
- VCS_TYPE
- USERNAME
- CIRCLE_TOKEN
※ check here