Closed AdamOakman closed 4 years ago
Good point. There was a bit of extra configuration needed, but the library itself had to be changed a bit - https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/pull/281 , please checkout the newest master and give the npm run test:all
a try, also, please not the changes in the webpack.config.js file, in particular the addition of this section:
{
test: /\.features$/,
use: [
{
loader: "cypress-cucumber-preprocessor/lib/featuresLoader"
}
]
}
It can do it when nonGlobalStepDefinitions
is false.
But it can't run All.features
when nonGlobalStepDefinitions
is true.
It will have an error message No tests found in your file
Does anyone have the same problem?
I am trying to figure out how to run All.features using typescript with cucumber config - did anybody try and manage to run it? I created All.features and added .features extension to cypress.json after cloning this repo but looks like something is still missing in the config because it does not execute any tests