Cucumber tags are not working after Cypress and cucumber-preprocessor upgrade #22893
surajwaitz
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I upgraded Cypress from "9.5.2" to "10.3.0" and previously I was using "cypress-cucumber-preprocessor": "4.3.1" now I upgrade it to "@badeball/cypress-cucumber-preprocessor": "11.4.0".
Before the upgrade, I was using cypress-tags for running the test using command npx cypress-tags run --env TAGS="@regression" --browser chrome, but after the upgrade it's throwing me below error.
npm ERR! could not determine executable to run
Please find the sample feature below
I checked the cypress-tags packages (https://www.npmjs.com/package/cypress-tags), and it seems they are not updated their code base recently, it might be the problem because cypress-tags are not working with new cypress and cucumber-preprocessor.
Can someone help me to get an alternate option for running tests based on the tags with the latest Cypress and cucumber?
Beta Was this translation helpful? Give feedback.
All reactions