-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Yarn Modern Plug'n'Play incompatibility with CT missing in docs #5394
Comments
Hi @jordanpowell88 / @marktnoonan The Yarn blog notes the release of Yarn (Modern) 4.0 on October 23, 2023. As expected, this hasn't changed any compatibility between Cypress and Yarn's default Plug'n'Play mode. There are still major issues. If there are no immediate plans by the Cypress team to resolve these incompatibility issues, then it would make sense to acknowledge this in the Cypress documentation and guide users towards using the |
Hi @jordanpowell88 / @marktnoonan Do you have any thoughts about this issue? It seems like the documentation ought to be more helpful about what works and doesn't work in terms of Yarn Modern and Cypress Component Testing. |
Subject
Guides > Component Testing
Description
Component testing does not work with Yarn Modern Plug'n'Play and there is no mention in the documentation about compatibility.
The Getting Started examples are all based on
npm
, e.g. Component Testing > React Component Testing > React Quickstart.Yarn Modern Plug'n'Play is the default mode for new Yarn Modern installations (when
.yarnrc.yml
>nodeLinker
is either undefined or set topnp
.)Known open issues
Cypress config error after CT migration to Yarn Plug'n'Play cypress#26865CT dependencies not detected with Yarn Plug'n'Play cypress#26859Suggestion
Add new heading in one (or both) of the following to cover package manager compatibility:
"What package managers can be used with component testing?"
This should say that Yarn Modern Plug'n'Play does not currently work with Cypress component testing.
Steps to reproduce
Note that yarn install produces the warning message:
cc: @jordanpowell88
The text was updated successfully, but these errors were encountered: