Issue: about a backstop.json file
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
We are unable to capture the screenshot as per the selectors, and after the login page, it is not capturing the screenshot
Here we passed the correct cookies path also but it captured only the login home page screenshot after login to app it is not capturing the screenshot
{
"id": "automation",
"viewports": [
{
"name": "desktop",
"width": 1024,
"height": 768
}
],
"scenarios": [
{
"label": "login",
"cookiePath": "backstop_data/engine_scripts/cookies.json",
"url": "https://dewdrops-rp.zycus.com",
"selectors": ["document","dewdrops-home-left-panel"],
"misMatchThreshold": 0.1,
"delay": 60000,
"readySelector": "",
"selectorExpansion": true,
"requireSameDimensions": true,
"onReadyScript": "puppet/onReadyLogin.js"
},
{
"label": "home",
"cookiePath": "backstop_data/engine_scripts/cookies.json",
"url": "https://dewdrops-rp.zycus.com/home/auth",
"selectors": ["document","dew-footer"],
"misMatchThreshold": 0.1,
"delay": 50000,
"readySelector": "",
"onReadyScript": "puppet/onReadyHome.js"
},
{
"label": "online-store",
"cookiePath": "backstop_data/engine_scripts/cookies.json",
"url": "https://dewdrops-rp.zycus.com/eproc/online-store",
"selectors": ["document"],
"misMatchThreshold": 0.1,
"delay": 50000,
"readySelector": "",
"onReadyScript": "puppet/onReadyOnlineStore.js"
}
],
"engine": "puppeteer",
"engineOptions": {
"args": [
"--no-sandbox",
"--disable-setuid-sandbox"
]
},
"report": ["browser"],
"paths": {
"bitmaps_reference": "backstop_data/bitmaps_reference",
"bitmaps_test": "backstop_data/bitmaps_test",
"html_report": "backstop_data/html_report",
"ci_report": "backstop_data/ci_report"
},
"asyncCaptureLimit": 5,
"asyncCompareLimit": 5,
"debug": false,
"debugWindow": false,
"archiveReport": true,
"scenarioLogsInReports": false,
"selectorExpansion": false
}
Contributor guide
Assessment
This issue has not been assessed yet.