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

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

Open
praveen1000 opened this issue Aug 27, 2020 · 1 comment

Comments

@praveen1000
Copy link

praveen1000 commented Aug 27, 2020

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"?

@jankowskimarcin
Copy link

I have same issue test excluded by tags should be Skipped right?

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

No branches or pull requests

2 participants