Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cucumber-js reporting service with cypress-cucumber-preprocessor #1100

Closed
s1mrankaur opened this issue Sep 22, 2023 · 1 comment
Closed

cucumber-js reporting service with cypress-cucumber-preprocessor #1100

s1mrankaur opened this issue Sep 22, 2023 · 1 comment

Comments

@s1mrankaur
Copy link

s1mrankaur commented Sep 22, 2023

πŸ‘“ What did you see?
**cucumber-js publish

Cucumber report being published with 0 scenarios**

0 scenarios
0 steps
0m00.001s (executing steps: 0m00.000s) 

βœ… What did you expect to see?
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

πŸ“¦ Which tool/library version are you using?

"cypress": "12.12.0",
"cypress-cucumber-preprocessor": "^4.3.1",
"cypress-js": "9.5.1"

πŸ“š Any additional context?
My understanding was that cucumber-js would just publish the report based on JSON outputs. What additional steps may be needed to get this working?

@s1mrankaur s1mrankaur changed the title cypress-js with cypress-cucumber-preprocessor cucumber-js reporting service with cypress-cucumber-preprocessor Sep 22, 2023
@badeball
Copy link
Owner

$ cucumber-js publish probably doesn't do what you think it does. It merely searches for features in publish/ and runs them (it found zero). Additionally, you need to fill it the issue template for any future tickets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants