-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Infinite recursion in net-stubbing/lib/server/middleware/request.js #22693
Comments
We'll need a reliable reproduction in order to debug this. Without that, 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. |
Closing absent a reliable reproduction. Please open a new issue with a reproducible example and link to this issue. Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide. |
I've been looking at the source code and I suspect I've found the root cause. const possibleRoutes = prevRoute ? orderedRoutes.slice(_.findIndex(orderedRoutes, prevRoute) + 1) : orderedRoutes Looking at the lodash documentation for the I don't have my work laptop with me so I'm unable to whip up a repro right now. |
I'm working on a PR with a fix (and a test that would fail prior to the fix). Is it possible to re-open this issue or do I have to create a new one? |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
We run our cypress tests on CircleCI, distributing the tests among several runners. Sometimes we get a failure like this one:
Desired behavior
Test should run without crashing
Test code to reproduce
I haven't found a reliable way to reproduce this. It's not always the same test that fails. However, the failures I've seen so far occur in tests with a
beforeEach
function that calls a utility method, which usescy.intercept
for a lot of our API routes.Cypress Version
9.6.0
Other
No response
The text was updated successfully, but these errors were encountered: