forked from Klaveness-Digital/cypress-cucumber-preprocessor
-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Tags not working as expected with multi --env option #244
Labels
Comments
I have the same problem. I can use only tags, and then all (required) tests run fine. But if I use something besides 'TAGS' the behavior becomes unexpected. In my case none of the tests is run if I use something like --env "TAGS='@sat',env=acc" |
🎉 This issue has been resolved in version 2.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Case
My project have multi features and my bug occure when I use sub-scenario with multi --env option (with personal variables)
Example
I have a feature with multi tags as :
Feature: check forms
@formac
Scenario: ...
@formVE
Scenario...
@formBK
Scenario: ...
Behavior
If I used this command
npx cypress-tags run -e TAGS=@formVE
it's ok, only this sub-scenario is calledIf I used this command
npx cypress-tags run -e TAGS=@formVE, myEnv=value
it's not ok, all features are called but without test.If I used this command
npx cypress-tags run -e TAGS=@formVE -e myEnv=value
The feature "check forms" is called but with all sub-scenarioBehavior Expected with multi --env option
how is possible to launch one sub-scenario on the cypress-tag with feature containing sub-scenario and personal environment variables ?
The text was updated successfully, but these errors were encountered: