features/element.feature in page-object-0.7.6 vs features/element.feature in page-object-0.8
- old
+ new
@@ -24,10 +24,11 @@
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 the text is "Google Search"
+ And I should know the html is "<a href="success.html" id="link_id" name="link_name" class="link_class" title="link_title">Google Search</a>"
And I should know it is equal to itself
And I should know the tag name is "a"
And I should know the attribute "readonly" is false
And I should be able to click it
@@ -287,6 +288,6 @@
Then I should know its id is "button_id"
Scenario: Double Clicking
Given I am on the Double Click page
When I double click the button
- Then the paragraph should read "Double Click Received"
\ No newline at end of file
+ Then the paragraph should read "Double Click Received"