Skip to content

Cypress Component Tests Not Working after macOS Ventura Upgrade #24876

Closed
@mschaefer-gresham

Description

@mschaefer-gresham

Current behavior

After upgrading to Ventura, Cypress component testing has stopped working. I've seen other related posts. I tried givng iTerm Full Disk Access, App Management rights, and added it to Developer Tools (all under Privacy and Security).

Cypress hangs here (yarn cypress open --component):

image

I had node 16 installed before upgrading to Ventura. With node 16, yarn cypress run --component --browser chrome still works. But yarn cypress open --component hangs as above. I installed node 19 after upgrading to Ventura and both commands hang using version 19.

Using node 19, yarn cypress run --component --browser chrome hangs here on the first test:

image

Another member on my team only had to give App Management rights to iTerm and Webstorm and Cypress is working. But he didn't install a new node version after upgrading or make any other changes. I had also freshly cloned our repo and did a yarn install after the upgrade which he didn't do. I'm guessing that if he made similar changes he would have the same issues.

If I run sudo yarn cypress open --component the tests load, but when I try to run one, it just hangs here:

image

I also cleared the Cypress cache and re-installed.

Any suggestions would be welcome.

Debug logs

No response

Cypress Version

10.11.0

Node version

19.1.0

Package Manager

yarn

Package Manager Version

1.22.19

Operating system

Mac

Operating System Version

ventura 13.0.1

Other

No response

Metadata

Metadata

Assignees

Labels

CTIssue related to component testingnpm: @cypress/webpack-dev-server@cypress/webpack-dev-server package issuestopic: installationIssue during installation or downloading Cypress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions