features/element.feature in page-object-0.5.1 vs features/element.feature in page-object-0.5.2
- old
+ new
@@ -7,9 +7,15 @@
When I type "abcDEF" into the text field
Then the text field should contain "abcDEF"
When I clear the text field
Then the text field should contain ""
+ Scenario: Elements enabled?
+ When I check an enabled button
+ Then it should know it is enabled
+ When I check a disabled button
+ Then it should know it is not enabled
+
Scenario: Link element methods
When I retrieve a link element
Then I should know it exists
And I should know it is visible
And I should know its' text is "Google Search"