Can't Run Beacause No Spec file found Cypress #26419
Unanswered
priyadas2000
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Cypress version 9.0.0 and I have created Product1 and Product2 in my integration folder.I am using headless mode to run testcases using command -
./node_modules/.bin/cypress run --spec cypress/integration/Product2/testcases/Login.spec.js
my Directory structure is like:
getting error as-
Can't run because no spec files were found
We searched for specs matching this glob pattern:
but if i used for Product1 ,
command
it Works fine and testcase run successfully.
I have Tried possibilities,
npx cypress run --config integrationFolder=cypress/integation/Product2/testcases/Login.spec.js
after this,all testcases run for Product1
Beta Was this translation helpful? Give feedback.
All reactions