-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress implicitly expects react-dom to be installed during component testing setup #22371
Comments
Hi! I think I see the problem - we should be adding As an aside, I'm working on React 18 support (with the new Also - in your Can you try |
I talked to @astone123 and have assigned this one to him. We will fix it. In the meantime, installing react and react-dom in your project should let you progress (most react projects should have these already). |
The code for this is done in cypress-io/cypress#22572, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Cypress 10.1.0 - Components setup using web interface does not work when select React and vite.
Desired behavior
Cypress does not crashes when using React and vite Into DevServer
Test code to reproduce
yarn add cypress --dev
npx cypress open
3- Then in the first page select components *beta
4- When the combo box appear, select React and Vite as bundle combination.
5- Then execute the command in the terminal yarn add -D vite react
6- And create the vite.config.ts
Cypress Version
10.1.0
Other
No response
The text was updated successfully, but these errors were encountered: