-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Using tagExpression makes the Feature or Scenario to run twice #385
Comments
Hey, |
@gromanas can you provide a minimal reproducible example for people interested to pick up this bug to get started? |
@christian-bromann Of course and I will come back with the exact steps to reproduce |
Steps to reproduce: 1st scenario: On top of a e.g.
2nd scenario: On top of a e.g.
In order to run the test in both scenarios you have to execute the command below
|
Hi, @christian-bromann are there any updates on this one? Facing the same issue when I try to run some scenario or feature using tags. |
@hiChandravanshi as you can see, no updates. I am not actively working on this issue so please get involved and help use find a solution. |
@christian-bromann @gromanas For me it is working fine now. I removed the extra path pattern from the |
I do have same issue when i array the specs.
This runs each feature file twice. |
@MahadevMG Can you try this? It may resolve the issue for you
|
Issue description
I am using wdio v6.1.12, node v12.13.1, cucumber-js v6.1.13, appium v17.1.0. I have tried to use tags on
Feature
orScenario
level, and in both tries, the feature or scenario is executed twice.Steps to reproduce
npx wdio wdio.conf.js --cucumberOpts.tagExpression=@smoke
Expected behavior
Only to run 1 time
Actual behavior
The feature file or scenario is executed twice.
FYI By running the scenarios without tags or using
--spec
or--suite
the tests are executed one time.The text was updated successfully, but these errors were encountered: