Closed Asprao78 closed 4 years ago
You can take a look at cypress-cucumber-preprocessor's instructions on how to run with Webpack. https://github.com/TheBrainFamily/cypress-cucumber-preprocessor#with-webpack They also have an example with TypeScript and Webpack: https://github.com/TheBrainFamily/cypress-cucumber-webpack-typescript-example
Issues in this repo are reserved for potential bugs or feature requests so that our team can fully focus on improving the product. This issue will be closed since it appears to be neither a bug nor a feature request.
We suggest asking questions relating to how to use Cypress be asked in our community chat. Also try searching our existing GitHub issues, reading through our documentation, or searching Stack Overflow for relevant answers.
I installed
cypress-cucumber-preprocessor
aiming to run some Cucumber feature File tests on the Cypress RWA App. After following the instructions and installing the necessary files, when I run the Cypress feature file in the Runner, I see the error below:I'm not sure where the error lies. I thought it would be an error with some dependencies and installed Webpack and
@cypress/webpack-preprocessor
, and yet I see the same error.I tried setting the option nonGlobalStepDefinitions to
false
(set to true earlier), but still see the same issue. I'm pretty sure it's not an issue with my Feature File.Here is the content of my cypress.json file:
Can anyone tell me where I am going wrong.
Below is the content of my package.json file: