If I have a feature that has a line like this:
Then I get the status code "<Status Code">.
and an example table with like this:
Examples: | StatusCode | | 200 |
and a step definition like this:
@Then("I get the status code {int}.")
Cucumber complains and says that the step is undefined, because it's expecting the type to be {string}
. Is there a way to specify the type in the feature or the example table? I've looked into the TypeRegistryConfiguration but I can't work out how to make it work with feature files.