Simple Node.js project for testing purpose using cypress with cucumber
git clone https://github.com/cuerposaco/hello-cypress-cucumber.git
cd hello-cypress-cucumber
npm install
npm run test
- cypress-cucumber-preprocessor style recommended
Put following config into
pakage.json
file
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true
}
- Working project Cucumber/Gherkin features and cypress tests are located into
cypress/integration/
folder.