Skip to content

Using tagExpression makes the Feature or Scenario to run twice #385

Open
@gromanas

Description

@gromanas

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 or Scenario 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions