Description
Current behavior
Currently this proxy correlation system test is failing when the whole spec is run, but passes by itself.
What seems like it happening, is that network.beforeRequestSent
is firing for requests at the time the interceptor is removed, which causes this error, which is swallowed.
However, the prerequests for these failed requests are never removed, so we need to remove them when the continue request fails. Otherwise, the prerequest times out and logs the timeout to the console, which is causing the proxy correlation system test to fail.
Desired behavior
remove the prerequest when network.continueRequest
fails when the error is no such request
. This allows the test to pass as seen in commit and circleCI run
Test code to reproduce
Run the proxy correlation spec on develop
commit 35187c4 in CI and see the error
Cypress Version
14.2.0
Node version
20.18.1
Operating System
Linux
Debug Logs
Other
No response
Activity
cypress-bot commentedon Mar 26, 2025
Released in
14.2.1
.This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v14.2.1, please open a new issue.