cypress-io / cypress-example-recipes

Various recipes for testing common scenarios with Cypress

Home Page:https://on.cypress.io/examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI --spec does not use the configuration file specPattern to find specific files to run

arithon55 opened this issue · comments

npx cypress run -b edge -s "cypress/e2e/ccptests.feature" does not use the configuration file specPattern: "**/*.feature" to find valid files to be run. The files are found if no --spec is used. This used to work before the Cypress 10 name change of spec files. The feature file has the @badeball/cypress-cucumber-preprocessor which produces the actual spec files that are used by Cypress.

Error message is

Can't run because no spec files were found.
We searched for specs matching this glob pattern:
C:\dev\bi---cypress-tests\cypress\e2e\ccptests.feature