Hello everyone.
I'm calabash and appium developer. And I'm using cucumber for both of these technologies. And one day I found out that I couldn't get tags from Examples in Scenario Outline.
Ex:
@featureTag
Feature: Let it be the feature
@scenarioTag
Scenario Outline: Let it be the scenario outline
Given <number> step
@exampleTag1
Examples:
| number |
| one |
@exampleTag2
Examples:
| number |
| two |
So, If I try to get all tags of first scenario example it will return only @featureTag and @scenarioTag, but not @exampleTag1. And it is very important to me to get all three. How can I get them?
How I get tags:
RUBY:
scenario.scenario_outline.source_tag_names
Java:scenario.getSourceTagNames()