Skip to content

firefox BiDi: prerequests are not removed properly when interceptor is removed #31325

Closed
@AtofStryker

Description

@AtofStryker

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

self-assigned this
on Mar 19, 2025
added theissue type on Mar 19, 2025
cypress-bot

cypress-bot commented on Mar 26, 2025

@cypress-bot
Contributor

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.

locked as resolved and limited conversation to collaborators on Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Participants

@AtofStryker

Issue actions

    firefox BiDi: prerequests are not removed properly when interceptor is removed · Issue #31325 · cypress-io/cypress