-
-
Notifications
You must be signed in to change notification settings - Fork 27
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-split: there are 0 found specs #119
Comments
Ok, I just found the issue. I have the following project structure:
My root
And
With such setup cypress-split doesn't work, showing 0 specs, when running it from the project root dir using the npm script above. And But when I change
'cypress-split' found all the specs and run it. So, for some reason, it's not dir-agnostic and I'd say it's an issue. |
The problem is when |
Let me see if I can fix this, I added something in bahmutov/find-cypress-specs#188 for this |
🎉 This issue has been resolved in version 1.5.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 1.5.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi! I faced the issue with finding the specs. cypress-split found 0 of them.
I read that cypress-split is based on find-cypress-specs, so I ran it separately from the same dir and it found all the specs:
In both scenarios it definitely reads the custom config file, because specPattern is correct. But something is wrong in cypress-split <-> find-cypress-specs interaction. I tried cypress-on-fix, but nothing changed. Also I tried to explicitly pass CYPRESS_CONFIG_FILE env variable to cypress, but nothing change too.
The text was updated successfully, but these errors were encountered: