-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Description
This is a weird weird one. I log it for posterity and maybe those who know more about Cypress will understand it. When running multiple test folders locally, the whole Chrome process crashes (the We detected that the Chrome Renderer process just crashed. crash) on the third test. Always on that third test.
If I comment out that third test, all 17 other tests pass.
Now the tricky parts:
-
If I execute just the folder containing that test, all good. no crash!
-
Here's the code where it crashes:
function clearTableSearch() {
cy.get('.filter-search').find('input').as('searchBox')
cy.get('@searchBox').clear();
cy.get('@searchBox').type('{enter}');
}
Nothing fancy here, but if I add a cy.wait(500); just after the clear(), all good, no crash!
- Weirder still, if I click to expand / collapse the test "text logs" while the tests are running, then all test pass, no crash... !?!
I've reproduced this many many times while trying to understand what is causing the crashes. I doesn't crash 100% of the time, but like 80% so that running tests on an automated build process is impossible.
I'd like to help debug further, but I have no idea how to help
URL of Issue(s)
localhost
Browser
Cypress v13.14.1
Chrome 128
ChromeDriver 128.0.6613.119 (6e439cfca4deda5954b0c74cde9b521c03cb31ad-refs/branch-heads/6613@{#1464})
Tested with Electron v118 too.
Device
- PC
- Mac
- iPhone
- iPad
- Android Phone
- Android Tablet
Additional Information
Machine specs:
AMD Ryzen 7 5800X running around 35%
32 GB of RAM (around 71% in use while running the tests)
Tried with and without experimentalMemoryManagement=true numTestsKeptInMemory=0

