question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scenario Outlines and data-tables

See original GitHub issue

Hi 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:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
holgergpcommented, Jan 29, 2019

Thx! I will have a look!

0reactions
lgandeckicommented, Feb 12, 2019

🎉 This issue has been resolved in version 1.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found