Puppeteer encountered an error while running scenario - TimeoutError on Windows
See original GitHub issueHi,
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 }
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top GitHub Comments
@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 :