features/element.feature in page-object-1.1.0 vs features/element.feature in page-object-1.1.1
- old
+ new
@@ -318,5 +318,26 @@
When I search for the paragraph by "id"
Then I should know the paragraph class is "p_class"
Scenario: Selecting the text for an element
Then I should be able to select "Elements" from the paragraph
+
+ Scenario: Element location
+ When I retrieve a link element
+ Then I should be able to know its location
+
+ Scenario: Element size
+ When I retrieve a link element
+ Then I should be able to know its size
+
+ Scenario: Getting the height of an element
+ When I retrieve a link element
+ Then the element height is not 0
+
+ Scenario: Getting the width of an element
+ When I retrieve a link element
+ Then the element width is not 0
+
+ Scenario: Getting the centre of an element
+ When I retrieve a button element
+ Then the element centre should be greater than element y position
+ And the element centre should be greater than element x position