Hello everyone. I'm trying to set up Cucumber preprocessor in my project. I've made an "$ npm install
@freezing-piano-2792/cypress-cucumber-preprocessor" .
How can I create a Gherkin file now? Should I just add a file like "Homepage.feature" to "e2e" folder and write Scenarios there?
Do I need to add {
"stepDefinitions": [
"cypress/e2e/[filepath]/**/*.{js,ts}",
"cypress/e2e/[filepath].{js,ts}",
"cypress/support/step_definitions/**/*.{js,ts}",
]
} in package.json file? Could somebody help me with that, please. I didn't fully understand the steps from this article.
https://github.com/badeball/cypress-cucumber-preprocessor/blob/8549f80fb209233eb5c98d918267f4d86bc8ca75/docs/step-definitions.md