Closed s1mrankaur closed 10 months ago
**cucumber-js publish
Cucumber report being published with 0 scenarios**
0 scenarios 0 steps 0m00.001s (executing steps: 0m00.000s)
We are using Cypress with Cucumber and have following configuration:
"cypress-cucumber-preprocessor": { "nonGlobalStepDefinitions": true, "stepDefinitions": "cypress/e2e/", "cucumberJson": { "generate": true, "outputFolder": "cypress/cucumber-json", "filePrefix": "", "fileSuffix": ".cucumber" }
There are JSON files in cypress/cucumber-json and I expected a report with the correct stats to be published on running cucumber-js publish
"cypress": "12.12.0", "cypress-cucumber-preprocessor": "^4.3.1",
My understanding was that cucumber-js will just publish the report based on JSON outputs. What additional steps may be needed to get this working?
This text was originally generated from a template, then edited by hand. You can modify the template here.
https://github.com/badeball/cypress-cucumber-preprocessor/issues/1100#issuecomment-1732050611
As @badeball hinted in the other issue, the cucumber-js option is --publish, and positional arguments refer to features.
--publish
👓 What did you see?
**cucumber-js publish
Cucumber report being published with 0 scenarios**
✅ What did you expect to see?
We are using Cypress with Cucumber and have following configuration:
There are JSON files in cypress/cucumber-json and I expected a report with the correct stats to be published on running cucumber-js publish
📦 Which tool/library version are you using?
"cypress": "12.12.0", "cypress-cucumber-preprocessor": "^4.3.1",
📚 Any additional context?
My understanding was that cucumber-js will just publish the report based on JSON outputs. What additional steps may be needed to get this working?
This text was originally generated from a template, then edited by hand. You can modify the template here.