-
Notifications
You must be signed in to change notification settings - Fork 610
Open
Description
I want to test multiple pages. I have a sandbox in which I have the styling of buttons, dialogs, datepickers on several pages. I want to create references of different elements on different pages.
{
"id": "backstop_default",
"viewports": [
{
"label": "desktop",
"width": 1400,
"height": 1024
}
],
"onBeforeScript": "chromy/onBefore.js",
"onReadyScript": "chromy/onReady.js",
"scenarios": [
{
"cookiePath": "backstop_data/engine_scripts/cookies.json",
"label": "Dashboard dialog, theme green",
"url": "http://localhost:8080/#/sandbox/dashboard/dialog",
"selectors": [
".formitem"
],
"selectorExpansion": true,
"misMatchThreshold" : 0.1,
"requireSameDimensions": true
},
{
"cookiePath": "backstop_data/engine_scripts/cookies.json",
"label": "Dashboard buttons, theme green",
"url": "http://localhost:8080/#/sandbox/dashboard/buttons",
"selectors": [
".formitem"
],
"selectorExpansion": true,
"misMatchThreshold" : 0.1,
"requireSameDimensions": true
}
],
"paths": {
"bitmaps_reference": "backstop_data/bitmaps_reference",
"bitmaps_test": "backstop_data/bitmaps_test",
"engine_scripts": "backstop_data/engine_scripts",
"html_report": "backstop_data/html_report",
"ci_report": "backstop_data/ci_report"
},
"report": ["browser"],
"engine": "chrome",
"engineOptions": {
"userDataDir": "C:/Users/Peter/AppData/Local/Google/Chrome/User Data/Default"
},
"engineFlags": [],
"asyncCaptureLimit": 5,
"asyncCompareLimit": 50,
"debug": false,
"debugWindow": true
}
If I run the reference or test BackstopJS only resolves the top object in the scenarios array. What's a good approach to test multiple pages?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels