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
When there are multiple Example tables in a a Scenario Outline and when only one of the tags is run, the cucumberJson file will only contain the scenarios of the last table.
Desired behavior
cucumberJson should contain the tests of the correct tag executed
Test code to reproduce
Here's an example feature file
Feature: An example feature file
@abc
Scenario Outline: Verify that a customer can do something
Given that the applicatoin is open
And the user searches for the
When the user does something
Then the operation has performed
I also tried. It does execute as expected. Spec results also show it correctly. Issue is with json report. It only contains the entries of last example table of scenario.
Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.
The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so.
Current behavior
When there are multiple Example tables in a a Scenario Outline and when only one of the tags is run, the cucumberJson file will only contain the scenarios of the last table.
Desired behavior
cucumberJson should contain the tests of the correct tag executed
Test code to reproduce
Here's an example feature file
Feature: An example feature file
@abc
Scenario Outline: Verify that a customer can do something
Given that the applicatoin is open
And the user searches for the
When the user does something
Then the operation has performed
Scenario 1: Run the tests for the @test tag
npx cypress run TAGS=@test --spec xyz.feature
Actual Result
cucumberJson file is generated with only the skipped scenarios of @Release and not the passed or failed tests of @test
Scenario 2: Run the tests for the @Release tag
npx cypress run TAGS=@Release --spec xyz.feature
Actual Result
cucumberJson file is generated with only the passed/failed scenarios of @Release
In both cases, only the tests of the Example table shown last is present in the json file, be it passed, failed or skipped.
Versions
The text was updated successfully, but these errors were encountered: