features/scenario_page.feature in wally-0.0.40 vs features/scenario_page.feature in wally-0.0.41
- old
+ new
@@ -15,12 +15,12 @@
Then I go nuts
"""
When I visit the sample feature page
And click on a scenario header link
Then a page appears with the scenario content
- And I should see "tag1"
- And I should see "tag2"
+ And I see "tag1"
+ And I see "tag2"
Scenario: Background
Given a feature file named "sample.feature" with the contents:
"""
Feature: Sample Feature
@@ -45,6 +45,40 @@
@work_in_progress
Scenario: Sample Aidy
"""
When I visit the sample feature page
And click on a scenario header link
- Then I should see "work_in_progress"
+ Then I see "work_in_progress"
+
+ Scenario: Data Table
+ Given a feature file named "sample.feature" with the contents:
+ """
+ Feature: Sample Feature
+
+ Scenario: Data Table
+ Given the following people exist:
+ | name | email |
+ | Aidy | aidy@example.com |
+ | Andrew | vos@example.com |
+ """
+ When I visit the sample feature page
+ And click on a scenario header link
+ Then I see the data table
+
+ Scenario: Scenario Outline
+ Given a feature file named "sample.feature" with the contents:
+ """
+ Feature: Sample Feature
+
+ Scenario Outline: Outline with examples
+ Given there are <start> cucumbers
+ When I eat <eat> cucumbers
+ Then I have <left> cucumbers
+
+ Examples:
+ | start | eat | left |
+ | 12 | 5 | 7 |
+ | 20 | 5 | 15 |
+ """
+ When I visit the sample feature page
+ And click on a scenario header link
+ Then I see the examples table