Scenario Outlines and data-tables
See original GitHub issueHi all,
I’m encountering a problem while using Scenario Outlines and data-tables. If I provide sth like:
Scenario Outline: Some Title
When someone sets field to "<value>"
Then the application shows the following
| Goods | Value in Euro |
| Bike | <value> |
Examples:
| value |
| 0.10 |
| 1.10 |
| 2.51 |
| 5.00 |
then I get the error
Timed out retrying: expected '<input#value>' to have value '<value>', but the value was '0.10'
CypressError: Timed out retrying: expected '<input#value>' to have value '<value>', but the value was '0.10'
It seems that the example values don’t get pulled into the data-table. This works when using plain cucumber.js
The concrete example can be found here (though I’m using german syntax there). The testrun can be found here.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Embedding of Scenario Outline with Data Table in Cucumber
In contrast to Scenario Outline , Data Table passes all datasets in a single step, and to retrieve dataset details we had to...
Read more >How to pass datatable as part of scenario outline example
Cucumber allows you to pass data table arguments in scenario outlines. The syntax is exactly the same as a normal scenario, except the...
Read more >Cucumber | Difference between Examples Table & Data Table
The Scenario Outline keyword can be used to run the same Scenario multiple times, with different combinations of values. · Scenario Outline is...
Read more >Using Data Tables in Examples for Scenario Outlines
Hi, A lot of the scenarios I deal with involve two dimensional data sets. In the example below we are interested in the...
Read more >Data Tables in Cucumber - Tools QA
Difference between Scenario Outline & Data Table · No keyword is used to define the test data · This works only for the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thx! I will have a look!
🎉 This issue has been resolved in version 1.11.0 🎉
The release is available on:
Your semantic-release bot 📦🚀