features/element.feature in page-object-0.7.2 vs features/element.feature in page-object-0.7.3
- old
+ new
@@ -262,10 +262,15 @@
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: Hovering over an element
+ Given I am on the hover page
+ When I hover over the hello link
+ Then the font size should be "20px"
+
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
@@ -274,5 +279,10 @@
Then I should have a div parent
Scenario: Flashing an element
When I retrieve a button element
Then I should be able to flash it
+
+ @focus
+ Scenario: Getting an element's id
+ When I retrieve a button element
+ Then I should know its id is "button_id"