Skip to content

Cypress crashes on SIGINT #29228

@krishantaylor

Description

@krishantaylor

Current behavior

I'm running cypress and a few other commands using foreman. After tests have run, I Ctrl+C to quit foreman. This used to work fine, but now I'm always receiving a crash report for cypress when exiting. The crash happens when no tests are run as well. This message now displays in the logs for cypress:

We detected that the Chrome browser process closed unexpectedly.
We have failed the current spec and aborted the run.

Desired behavior

Cypress and Chrome should quit gracefully.

Test code to reproduce

.

Cypress Version

13.7.0

Node version

v18.19.1

Operating System

macOS 14.3.1

Debug Logs

No response

Other

I verified the desired behavior with v13.6.6, so this may have something to do with the recently upgraded signal-exit package.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions