cypress
cypress copied to clipboard
chore: add warning encouraging react users to update mount function
- Closes https://github.com/cypress-io/cypress/issues/23032
User facing changelog
N/A
Additional details
Add a useful warning for users on the old React API, cypress/react
, who are using React 18. They can now take advantage of the React 18 integration, cypress/react18
.
Steps to test
It's a trivial change. I tested it out, here's how it looks:
Before (warning in console and command log)
After (no, warning in console or command log)
How has the user experience changed?
PR Tasks
- [x] Have tests been added/updated?
- [ ] Has the original issue (or this PR, if no issue exists) been tagged with a release in ZenHub? (user-facing changes only)
- [ ] Has a PR for user-facing changes been opened in
cypress-documentation
? - [ ] Have API changes been updated in the
type definitions
?
Thanks for taking the time to open a PR!
- Create a Draft Pull Request if your PR is not ready for review. Mark the PR as Ready for Review when you're ready for a Cypress team member to review the PR.
- Become familiar with the Code Review Checklist for guidelines on coding standards and what needs to be done before a PR can be merged.
Test summary
Run details
Project | cypress |
Status | Passed |
Commit | 7002a6615c |
Started | Aug 10, 2022 4:44 PM |
Ended | Aug 10, 2022 4:55 PM |
Duration | 11:11 💡 |
OS | Linux Debian - 11.3 |
Browser | Firefox 99 |
View run in Cypress Dashboard ➡️
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard
I will get this green and merge it up.