Chrome browser hangs due to potential memory leak caused by failing tests #30664
Labels
stage: needs investigating
Someone from Cypress needs to look at this
type: performance 🏃♀️
Performance related
Test code to reproduce
Command to run the tests
Configuration file
// Test file
Cypress Mode
cypress run
Cypress Version
13.16.0
Browser Version
Chrome 131.0.6778.71
Node version
20.9.0
Operating System
Windows 11
Memory Debug Logs
See 2nd comment (logs too big to be uploaded in this section)
Other
More details on the issue
Every time a test fails, the memory usage increases. If you comment the fail tests, and run only the success tests (you can double the amount of loops so the number of tests stays the same), the memory usage won't increase.
This impacts CI run that contains bigger spec files. If any of the big spec file freeze due to that memory issue, none of the other remaining spec files will be run.
Setting up a small app to test this issue
The text was updated successfully, but these errors were encountered: