Open autotest-web opened 1 month ago
One more issue I'm facing is that when capturing the reference screenshot and running BackstopJS tests, a new browser instance opens, which is not expected. How can this be handled with WebDriver? The screenshot should be captured using the currently running automation browser.
@maciej-siola @garris Can u pls help here
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 }