I have a feature file and step definition file in cypress.
My feature looks like this:
Scenario Outline:
Given when I go the page
When I login
Then Do some test
@test1
Examples:
|email|
|test@gmail.com|
@test2
Examples:
|email|
|test@gmail.com|
I used this command to run: npx cypress-tags run -e TAGS="test1"
But I am getting the following error:
using cypress.json configuration
spec files: cypress/integration/**/*.feature
no matching tags found
But if I have a scenario like this, I am getting the expected result with the command that I used.
@test1
Scenario Outline:
Given when I go the page
When I login
Then Do some test
Examples:
|email|
|test@gmail.com|
|email|
|test@gmail.com|
Is there any way to run based on the tags from the examples?