Gediminas Kubilius
Gediminas Kubilius

Reputation: 33

Wdio Cucumber filter steps in feature file based on tag

I've wdio cucumber feature file:

@T555
Feature: T555 Car Purchase Flow
Background:
      Given I am logged in

   Scenario: Verify the process of purchasing T555 Car    
      Given I navigate to "Cars"
      @test-env
      When I select "T555 Cars"      
      Then the "T555" cars form should open 

If I run such feature file, it fails (by removing @test-env it works). My goal is to skip certain step-definitions based on tag that I'm using. What is correct syntax?

Upvotes: 0

Views: 20

Answers (0)

Related Questions