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

Multiple Cucumber tags are not working using command line #483

Open
vinodkpasi opened this issue Jan 26, 2022 · 2 comments
Open

Multiple Cucumber tags are not working using command line #483

vinodkpasi opened this issue Jan 26, 2022 · 2 comments

Comments

@vinodkpasi
Copy link

vinodkpasi commented Jan 26, 2022

Issue description

Multiple Cucumber tags are not working using command line

Steps to reproduce

npx wdio run .\test\wdio.conf.ts --cucumberOpts.tagExpression='@A or @b'

Expected behavior

Feature files those are tagged with "@A" or "@b" must run

Actual behavior

Feature files those are tagged with "@A" are running. So runner considering the first tag only

Issue occurred on browser/platform

I am using latest version of webdriver with cucumber framework.

@christian-bromann
Copy link
Member

@vinodkpasi does it work if you apply tagExpression in your wdio.config directly?

@vinodkpasi
Copy link
Author

if we apply tagExpression in wdio.config directly then it is working fine.

                          tagExpression: '@A or @b'

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

No branches or pull requests

2 participants