cypress-cucumber-boilerplate icon indicating copy to clipboard operation
cypress-cucumber-boilerplate copied to clipboard

StepDefinitions configuration

Open bruxx-6243 opened this issue 8 months ago • 0 comments

Hi @JoanEsquivel , I'm trying to make configuration for my project Cypress and I'm facing some issues when trying to run the test I'm having the issue if different features have the same Given entry point massage.

How can I edit the stepDefinition inside my .cypress-cucumber-preprocessorrc.

This is my .cypress-cucumber-preprocessorrc file configuration.

{
  "json": {
    "enabled": true,
    "output": "json-logs/report.json",
    "formatter": "./jsonFormatter/cucumber-json-formatter.exe"
  },
  "messages": {
    "enabled": false,
    "output": "json-logs/messages.ndjson"
  },
  "html": {
    "enabled": false,
    "output": "cucumber-reporter.html"
  },
  "nonGlobalStepDefinitions": false,
  "stepDefinitions": ["cypress/e2e/step_definitions/**/*.{js,ts}"]
}

Screenshot 2024-06-12 155450

bruxx-6243 avatar Jun 12 '24 14:06 bruxx-6243