Puppeteer encountered an error while running scenario - TimeoutError on Windows
Hi,
After running - backstop reference command getting below timeout error. Also sharing backstop.json file, thanks in advance for your help.
COMMAND | Executing core for "reference" clean | backstop_data/bitmaps_reference was cleaned. createBitmaps | Selected 1 of 1 scenarios. CREATING NEW REFERENCE FILE CREATING NEW REFERENCE FILE Puppeteer encountered an error while running scenario "BackstopJS Homepage" TimeoutError: Navigation Timeout Exceeded: 120000ms exceeded Puppeteer encountered an error while running scenario "BackstopJS Homepage" TimeoutError: Navigation Timeout Exceeded: 120000ms exceeded
Run $ backstop test to generate diff report.
COMMAND | Command "reference" successfully executed in [130.748s]
backstop.json
{ "id": "backstop_default", "viewports": [ { "label": "phone", "width": 320, "height": 480 }, { "label": "tablet", "width": 1024, "height": 768 } ], "scenarios": [ { "label": "BackstopJS Homepage", "cookiePath": "backstop_data/engine_scripts/cookies.json", "url": "https://www.google.com/?hl=ru", "referenceUrl": "https://www.google.com/", "readyEvent": "", "readySelector": "", "delay": 0, "hideSelectors": [], "removeSelectors": [], "hoverSelector": "", "clickSelector": "", "postInteractionWait": 0, "selectors": [], "selectorExpansion": true, "expect": 0, "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": "puppeteer", "engineOptions": { "waitTimeout": 120000, "args": ["--no-sandbox"] }, "asyncCaptureLimit": 5, "asyncCompareLimit": 50, "debug": false, "debugWindow": false }
I am also facing the same issue.
I am facing the same issue. Did anyone find the cause and solution to this problem?
I am also having this issue.
Does this patch fix the issue?
@garris I can confirm the patch works. I tried with one of my projects after applying the patch it wasn't erroring anymore.

After Applying Patch :

@garris I can confirm the patch works. I tried with one of my projects after applying the patch it wasn't erroring anymore.
Hi @amjad1233, how did you install the patch?
Can you please provide detailed steps?
I'm not a developer.
please get this PR merged 🙏 so a new fixed dockerimage can be build and used