Skip to content

Instantly share code, notes, and snippets.

@garris
Created November 1, 2016 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garris/4bcb529433f16aa89681ecb559929b66 to your computer and use it in GitHub Desktop.
Save garris/4bcb529433f16aa89681ecb559929b66 to your computer and use it in GitHub Desktop.
{
"id": "prod_test",
"viewports": [
{
"name": "phone",
"width": 320,
"height": 480
},
{
"name": "tablet_v",
"width": 568,
"height": 1024
},
{
"name": "tablet_h",
"width": 1024,
"height": 768
}
],
"scenarios": [
{
"label": "BackstopJS Homepage",
"url": "https://garris.github.io/BackstopJS/",
"hideSelectors": [],
"removeSelectors": [],
"selctorExpansion": true,
"selectors": [
".jumbotron",
".row.firstPanel",
".firstPanel .col-sm-4",
".secondPanel",
".finalWords",
"footer"
],
"readyEvent": null,
"delay": 500,
"misMatchThreshold" : 0.1,
"onBeforeScript": "onBefore.js",
"onReadyScript": "onReady.js"
}
],
"paths": {
"bitmaps_reference": "backstop_data/bitmaps_reference",
"bitmaps_test": "backstop_data/bitmaps_test",
"casper_scripts": "backstop_data/casper_scripts",
"html_report": "backstop_data/html_report",
"ci_report": "backstop_data/ci_report"
},
"casperFlags": [],
"engine": "phantomjs",
"report": ["browser"],
"debug": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment