cucumber-boilerplate
cucumber-boilerplate copied to clipboard
Multiple Cucumber tags are not working using command line
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.
@vinodkpasi does it work if you apply tagExpression in your wdio.config directly?
if we apply tagExpression in wdio.config directly then it is working fine.
tagExpression: '@A or @b'