-
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
fix: do not ignore node_modules if it is specified by an user #23616 #28456
fix: do not ignore node_modules if it is specified by an user #23616 #28456
Conversation
|
…-it-is-specified-in-path
…-it-is-specified-in-path
…-it-is-specified-in-path
…egex in the parse-changelog.js
Eagerly awaiting this fix! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for submitting this! Other than some flake in the CI, it looks like it's passing. Just left one comment about expanding the test coverage.
…-it-is-specified-in-path
…-it-is-specified-in-path
…-it-is-specified-in-path
…-it-is-specified-in-path
…-it-is-specified-in-path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for the PR @qwazimoda! We will need to wait to merge as this will go in our next release (13.6.3
or 13.7.0
)
Thanks for the review. |
…-it-is-specified-in-path
@qwazimoda Fixed the changelog for you |
Thank you a lot! |
…-it-is-specified-in-path
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
The suggested change is to not ignore
node_modules
if the project's folder contains it ornode_modules
is specified in the path to spec files.supportFile
in config doesn't work withnode_modules
in path #23616Additional details
If a project path (cwd) or a spec path (glob) contains
node_modules
it will not be included in the ignoring paths (ignoreGlob).Steps to test
The related issues contain steps to reproduce. But I haven't built the fixed version locally to verify the changed behavior.
How has the user experience changed?
A few extra code checks are added. For most users, it shouldn't be detectable. The blocked users get the ability to run Cypress from the
node_modules
folder like they were able to do before Cypress 10.Some future users could potentially experience some slowness (?) or see unexpected specs from Cypress if they improperly configure their environment.
PR Tasks
cypress-documentation
?type definitions
?