Timeouts do not apply when redirected continuously? #9159
Unanswered
henrikauppinen
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While investigating an issue with Cypress "stalling" in our CI, I came across this odd case where test may get stuck in a loop indefinitely and any timeouts don't seem to apply. In our CI this process would eventually get shut down for running too long.
Here's a video capture of the scenario (and the repo contains reproducible example): https://github.com/henrikauppinen/cypress-redirect-loop/blob/main/cypress/videos/redirect-loop.spec.js.mp4
While the example repo is a made up scenario, something like this happened in our app code when certain fetch requests were ignored (with
force404
) which caused some unexpected redirects. The problem was extremely difficult to pinpoint as the test in question passed locally, but failed in CI (eventually managed to reproduce locally by putting the app server under load while running the test).What do you think of this, am I missing something or does this warrant a bug report?
Beta Was this translation helpful? Give feedback.
All reactions