Skip to content

while running scenario with specific tag others are marked as pending. #23

@praveen1000

Description

@praveen1000

This feature file has two tests marked with tags @smoke and @regression
Google.feature

Feature: The Facebook

  I want to open a social network page
  
  @smoke
  Scenario: fhgfh a social network page
    Given I open Google page
    Then I see "Google" in the title

  @regression
  Scenario:sd a social network page
    Given I open Google page
    Then I see "Google" in the title

I want to scenario only with tag @smoke so using command npx cypress-tags run -e TAGS='@smoke'
this command runs the desired scenario but marks others as pending. Example of the result shown in the below image
https://ibb.co/CPfqzLv

How to avoid the not executed scenario "marked as pending"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions