[SpecFlow+ LivingDoc] Filter by example tag for scenario outline ?
Hi everyone I would really appreciate the following improvement in Azure DevOps SpecFlow+ LivingDoc plugin:
Given I have scenario outline with examples
And each examples have unique tags
When I try to search/filter the respective scenarios by that unique tag
Then the filter returns zero results
Expected: To be able to search examples by tag
Hi Ilija, sorry for the late reply. Just to confirm are you trying to filter for tagged examples, right? Are you trying to filter for tags with the following functionality and don't get results?0
Yes that is correct. The filter returns zero results.
However, I have noticed something else just yesterday regarding scenario outlines.
If we take in consideration the same example from the screenshot above.
I could not execute that specific example with tag @daily from azure devops pipeline with VS test task.
Then I tried adding the same tag @daily not only above the Examples but also above the Scenario Outline as well... and that worked as expected.
Perhaps it's the same issue here with the filter? If yes is it safe to say that tags in any Example from Scenario Outline must be also defined above the same Scenario Outline?0
Yes, currently we are only supporting tagged Scenarios and Scenario Outline. I guess as a workaround you could split the Scenario Outline into two Scenario Outlines:
then also the filtering should work as expected (that's how we are using tags, only on Scenario/Scenario Outline level).
Please let me know if that would work out for you as well0
Yes it works the way we have concluded with the Scenario/Scenario Outline tags level.
Thank you Mario.0
Please sign in to leave a comment.