-
Notifications
You must be signed in to change notification settings - Fork 669
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
Browser hangs / disconnects when running testcafe tests on docker #2194
Comments
I recently upgraded the chromium version to Chrome 64.0.3282 and error still occurs |
Is there like a setting or debugger mode for testcafe that has additional logs that I can check after running to help me investigate this issue? |
I have the same issue when running on local Windows machine with Chrome 64.0.3282 on the TestCafe 0.19.0 |
Any update on this? I really am quite lost, I switch to other browsers but apparently, our platform doesnt fully support firefox or safari.. so I need to do tests on chrome. Additional Info: This issue doesnt happen on firefox BUT one test suite fails around 90% of the total tests due to our support issue with firefox |
We're also facing this issue intermittently on our CI machines. We're running Chrome beta.
|
The same thing is happening to me using Firefox. Is this something just recently started happening? I just started looking into using TestCafe. |
The issue does not relate with docker or headless chrome. The fact is that TestCafe opens browser windows created with @AhnpGit @leojh @ameyagholkar |
@miherlosev what can you recommend to troubleshoot the |
I closed this issue because it is a duplicate. @AhnpGit @ameyagholkar Please create separate issues and provide more details about your environment there. |
Our test suite does not include multiple window test cases, but we also get
The question about debugging still stands. What are the ways to debug this? cc @miherlosev Note: We get this error in random order, after different tests, so I don't consider it related to specific test cases. |
@operatino |
Using @andrzej-kodify's video recorder plugin I was able to capture a screenshot, but it's just a white page. Note that it consistently halts after printing the first test name, stating:
It does not occur randomly. |
@aphofstede, this problem can be specific to the site and the Docker container. Could you please provide the Dockerfile for the container that runs problematic tests? |
I received a similar error after adding a |
My problem turned out to be nginx configuration issues. ( |
@meraj-ahmed looks like that really helped our pipeline to become stable. So instead of using testcafe call, we just start chrome with command line params setting up the resolution |
We had the same issue when testing in both Chromium and Firefox in the same docker container (as shown in the documentation both it seems to not be a good idea. |
I am still experience this issue, can anyone provided the solution for this issue ? |
Try to specify the docker run -v //d/tests:/tests -it testcafe/testcafe 'chromium --no-sandbox,firefox' /tests/**/*.js |
@miherlosev I've been hitting my head against this issue as well and finally came across this thread. If I try only Aside from |
Hi @mfestrada
|
Are you requesting a feature or reporting a bug?
Reporting a bug
What is the current behavior?
Testcafe crashes/disconnects to browser when clicking a link that loads or opens another page.
Or when the page is loading a list of elements.
ERROR The HeadlessChrome 63.0.3239 / Linux 0.0.0 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.
What is the expected behavior?
Continue test on that page
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
Specify your
The text was updated successfully, but these errors were encountered: