-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot parse datatable with examples #741
Comments
Hello @sayurionishi Could you please provide a full MVP? This looks invalid gherkin syntax - there is no Feature, for example. Could you also provide the step definitions used? Also, you refer to datatables, but this has both examples table and datatable. Hopefully the step defs will clarify what you are trying to do: you seem to have both here, but none of the examples are actually being used in your feature file? Try and use the bug reporting template provided when raising a bug: To Reproduce Expected behavior Additional context Version
|
Good day, here it is @jsa34
I have also edited the first comment as it does not display the datatable properly Thank you |
Thanks - that's fab. I will take a look, but I haven't seen example table values used in a data table before... |
Interesting use case, I wonder if other implementations treat data tables as part of the template, or not. Maybe to be raised with the Cucumber guys. Sounds like a valid use case for me though, hopefully it won't be too hard to fix. |
Agreed - I have asked to get a conclusive idea of where example params should affect (for example, I know scenario names can use example params, too) |
Raised with Cucumber, and sought clarification.
|
Sample Scenario
Before, it could parse the values correctly, returning 1, 2, 3, but now it returns the placeholders as strings
<x>, <y>, <z>.
This worked before the recent change in data tables.
Hope you could help check this issue, thank you
The text was updated successfully, but these errors were encountered: