features/element.feature in page-object-0.5.4 vs features/element.feature in page-object-0.5.5
- old
+ new
@@ -251,5 +251,18 @@
And I should know its' text is "h1's are cool"
And I should know it is equal to itself
And I should know its' tag name is "h1"
And I should know the attribute "readonly" is false
And I should be able to click it
+
+ Scenario: Firing an event
+ When I set the focus to the test text_field using the onfocus event
+ Then I should see the onfocus text "changed by onfocus event"
+
+ Scenario: Setting focus on an element
+ When I set the focus on the test text_field
+ Then I should see the onfocus text "changed by onfocus event"
+
+ Scenario: Finding a parent element
+ When I find the child link element
+ And ask for the parent element
+ Then I should have a div parent