features/view.feature in rufus-0.3 vs features/view.feature in rufus-0.4
- old
+ new
@@ -1,6 +1,29 @@
+@view
Feature: Interacting with views
Scenario: Clicking a view
Given I am on the "HomePage"
When I click the view defined "rufus"
Then I am on the "RufusPage"
+
+ Scenario: Finding a view
+ Given I am on the "HomePage"
+ Then the view defined "rufus" does exist
+
+ Scenario: Not finding a view
+ Given I am on the "HomePage"
+ Then the view defined "zilch" does not exist
+
+ Scenario: Waiting for a view to exist
+ Given I have navigated to the "ExistsPage" using the "to_exists" route
+ Then I am on the "ExistsPage"
+
+ Scenario: Waiting for a view that is not there
+ Given I am on the "HomePage"
+ Then I will not find the view marked "zilch" after waiting
+@displayed
+ Scenario: Waiting for a view to be displayed
+ Given I have navigated to the "DisplayedPage" using the "to_displayed" route
+ Then I am on the "DisplayedPage"
+ And the view marked "invisible" exists is not displayed
+