Closed ricardoaranha96 closed 2 months ago
I think this may be related to https://github.com/cypress-io/cypress/issues/30100 where we did find another situation where we're not cleaning up the BrowserCriClient properly and we have a repro.
Okay, I hope my debug log is useful to the investigation. When I started to gather the evidence, #30100 was not opened.
I'm going to close this as a duplicate of https://github.com/cypress-io/cypress/issues/30100 If the fix for that doesn't resolve this issue however, it could technically be a separate issue.
Current behavior
Cypress reports
Error: WebSocket connection closed
and stops running tests andcypress run
13.13.1
13.13.3
Desired behavior
Don't throw exceptions or give alternatives to handle this scenario.
Test code to reproduce
Not sure how to reproduce. It happens more consistently on CI and it can take many tries to trigger it.
Cypress Version
13.13.3
Node version
20.13.1
Operating System
host macOS 14.6.1 and docker Ubuntu 22.04
Debug Logs
Other
I opened a similar issue to report that it occurred in Cypress 13.10. A fix was released on 13.13.1, but the error is still present on both 13.13.1 and the latest version (13.13.3).