-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Puppeteer encountered an error while running scenario - TimeoutError on Windows #996
Comments
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. |
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 |
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.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
}
The text was updated successfully, but these errors were encountered: