You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Everyone!
Maybe this is more a question, but couldn't also find any examples showing that this works with cypress-cucumber-preprocessor (great work btw!). For me, this specific feature is one of the main reasons for using this plugin in our company.
Consider the following scenario outline:
@tag1
Scenario Outline: I order <product>
Given I open Checkout with "<product>"
When I fill checkout form
And I click submit order button
Then I check if I am on Success Page
@tag2
Examples:
| product |
| product1 |
| product2 |
@tag3
Examples:
| product |
| product3 |
this will run all Examples (as expected): npx cypress open --env TAGS="@tag1"
this will not run any Examples:
npx cypress open --env TAGS="@tag2"
npx cypress open --env TAGS="@tag3"
Current behavior
Hello Everyone!
Maybe this is more a question, but couldn't also find any examples showing that this works with cypress-cucumber-preprocessor (great work btw!). For me, this specific feature is one of the main reasons for using this plugin in our company.
Consider the following scenario outline:
this will run all Examples (as expected):
npx cypress open --env TAGS="@tag1"
this will not run any Examples:
Desired behavior
According to Cucumber Docs:
https://cucumber.io/docs/cucumber/api/#tags
tags should also work as per Examples, so I can easily decide which Examples I want to run.
Test code to reproduce
Versions
The text was updated successfully, but these errors were encountered: