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

Extra help with generating cucumber.json

Open ShanWehttam opened this issue 7 years ago • 2 comments

Thanks for this great tool... great to be able to use cucumber with Cypress.

Only having one issue and its generating the cucumber.json file for reporting purposes. I've added the following to the package.json file, but havn't been able to generate the json file: "cypress-cucumber-preprocessor": { "cucumberJson": { "generate": true, "outputFolder": "cypress/cucumber-json", "filePrefix": "", "fileSuffix": ".cucumber" } } The tests are passing, but nothing generated. Is there anything that i could be missing. Do you know of an example project i can look at for guidance? Many Thanks

ShanWehttam avatar Sep 30 '19 22:09 ShanWehttam

@ShanWehttam what is the version of your cypress-cucumber-preprocessor ? Please create a small repo and give us the link.

Satya-Gorla avatar Oct 02 '19 19:10 Satya-Gorla

Hi there, I created a new project with a fresh install. "cypress": "^3.4.1", "cypress-cucumber-preprocessor": "^1.16.1" Cucumber.json file is now created successfully on each test run using your documentation steps.

Thanks

ShanWehttam avatar Oct 07 '19 09:10 ShanWehttam