In my Cucumber Scenario Outline, some of the examples in my examples table are passing, and some are failing.
I am trying to add tags to these, so I can run those which pass, & skip those which are failing currently.
I have tried to copy some examples I've found online, but I am getting an error.
Below is my latest attempt:
Scenario Outline: BR001 test
Given...
When...
Then...
@passing
Examples:
| errorCode |
| BRS002 |
| BRS003 |
| BRS004 |
| BRS005 |
| BRS008 |
| BRS010 |
| DE19716 |
| BRS006 |
| BRS009 |
@failing
Examples:
| errorCode |
| DE19716 |
| BRS006 |
| BRS009 |
But, there is an error with @passing. Here is the error message appearing:
mismatched input '@passing' expecting 'Examples:'
I've copied an online example, so I don't know why this is throwing an error?