-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Cypress hanging on circleCI but pass locally #21110
Comments
Hey @goldylucks I had the same problem some weeks ago and in my case was two problems:
So I fix my problem by passing the Browser and some Cypress configuration directly in my npm script command like: |
the problem is cypress hangs, not only fails. And it's just on one test suite, so it's not a config issue IMO. Also, we also do |
I am having a somewhat similar issue. MY CYPRESS tests pass locally but are hanging on circleCI. I am getting this error: |
Tests started to hang after |
So, in my case adding |
@nezlobnaya That was a game changer for me too. using |
I updated the config to use chrome but that didn't stop the hangs. Now trying the latest orb with chrome. |
Using |
@goldylucks In the logs you provided, can you share which debug log you enabled? Also, is this a log set from a job you had to manually end in CI after several minutes/hours of this being non-responsive? @goldylucks / @AakrritiJain / @ParadoxTwo Can you provide debug logs with |
For me, I added |
Right now there doesn't seem to be enough information to reproduce the problem on our end. Unless we receive a reliable reproduction, we'll eventually have to close this issue until we can reproduce it. This does not mean that your issue is not happening - it just means that we do not have a path to move forward. Please provide a reproducible example of the issue you're encountering. Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide. |
Current behavior
we have a test the works 100% locally, but on circle CI with docker it sometimes pass, sometimes hang forever.
Attaching here a txt file with the output of running cypress with DEBUG, after 2.5 hours we let the test run on the CI
I'd appreciate any insights to help tackle this, and do let me know if there's anything I can do on our end to make it easier for you to know what's going on.
cypress circle ci hang.txt
Desired behavior
should work on the CI like it works locally.
Test code to reproduce
I don't know how to reproduce this, it happens on one of our test suits but not the same test every time, i.e. it's a describe block with many
it
s, and sometimes the first one hangs, someone the first one pass and the second one hangs.Cypress Version
9.5.2
Other
No response
The text was updated successfully, but these errors were encountered: