features/page_level_actions.feature in page-object-0.6.2 vs features/page_level_actions.feature in page-object-0.6.3
- old
+ new
@@ -12,11 +12,20 @@
Scenario: Getting the html from a web page
Then the page should contain the html "<title>Static Elements Page</title>"
Scenario: Getting the title from a web page
Then the page should have the title "Static Elements Page"
+
+ Scenario: Validating the page title
+ Then the page should have the expected title
+ Scenario: Validating the expected element
+ Then the page should have the expected element
+
+ Scenario: Validating that an expected element does not exist
+ Then the page should not have the expected element
+
Scenario: Waiting for something
Then I should be able to wait for a block to return true
Scenario: Handling alert popups
When I handle the alert
@@ -46,6 +55,6 @@
Then the page should contain the text "Success"
When I press the back button
Then the page should contain the text "Static Elements Page"
When I press the forward button
Then the page should contain the text "Success"
-
\ No newline at end of file
+