cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.09k stars 3.19k forks source link

Include the results in the xml report if chrome renderer crashes #30607

Open sandeep-looker opened 1 week ago

sandeep-looker commented 1 week ago

Current behavior

Receiving this message at times for some tests:

We detected that the Chromium Renderer process just crashed. We have failed the current spec but will continue running the next spec.

When the test does fail it gets omitted from any junit xml results file as well as any other reporters that generate an html.

Desired behavior

In case the test does fail due to the browser crashing, that should be included as a failure with the right message in the resulting xml files and allow html reporters to work with the listeners.

Test code to reproduce

There is no code to reproduce this specifically but the current behavior is as described above.

Cypress Version

13.15.1

Node version

20.15.1

Operating System

linux

Debug Logs

No response

Other

No response