Steps Definitions are not generated as expected for Scenario with Examples
HI all,
I have issue with generation Steps Definition for Scenario with Examples.
Scenario: Validate Presence Status for Asset tags
Given The Global Dashboard is loaded
Then Validate Presence <Status> for assets tags
Examples:
| Status |
| Present |
| Absent |
| Seen |
When I try to define steps for 'Then' - SpecFlow returns:
[Then(@"Validate Presence Present for assets tags")]
public void ThenValidatePresencePresentForAssetsTags()
{
throw new PendingStepException();
}
When expected
[Then(@"Validate Presence (.*) for assets tags")]
What is wrong from my side, How it can be fixed?
I'm using VS 2022 with SpecFlow version: 2022.1.89.53862
Thank you!
0
Please sign in to leave a comment.
Comments
0 comments