Skip to content
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

The testing script always transforms testfiles globs to lowercase at the Cypress level #3588

Closed
cahirodoherty-learningpool opened this issue Aug 8, 2024 · 3 comments · Fixed by #3589

Comments

@cahirodoherty-learningpool
Copy link
Contributor

Subject of the issue/enhancement/features

Running tests but attempting to limit to a specific plugin glob that includes a capital letter as part of the component (e.g. npm test --testfiles=/components/adapt-contrib-textInput/), the test will not find anything to run as Cypress seems to force lowercase and no such file exists testMatch: **/components/adapt-contrib-textinput/** - 0 matches

Your environment

  • FW v5.40.6

Screenshots (if you can)

image
@lemmyadams
Copy link
Contributor

I think this is caused by the .toLowerCase() in

passedArgs = passedArgs.trim().replaceAll('--', '').toLowerCase().split(' ').filter(name => isCommandNotFound || name !== commandName);

Unsure of the effects of removing this

@cahirodoherty-learningpool
Copy link
Contributor Author

I think this is caused by the .toLowerCase() in

passedArgs = passedArgs.trim().replaceAll('--', '').toLowerCase().split(' ').filter(name => isCommandNotFound || name !== commandName);

Unsure of the effects of removing this

That's exactly it

Copy link

github-actions bot commented Aug 9, 2024

🎉 This issue has been resolved in version 5.40.7 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants