features/div.feature in page-object-0.2 vs features/div.feature in page-object-0.2.1
- old
+ new
@@ -1,13 +1,13 @@
Feature: Div
In order to interact with divs
Testers will need access and interrogation ability
-
+
Background:
Given I am on the static elements page
-
+
Scenario: Getting the text from a div
When I get the text from the div
Then the text should be "page-object rocks!"
Scenario: Getting the div element
@@ -21,17 +21,18 @@
Scenarios:
| search_by |
| id |
| class |
- | xpath |
+ | xpath |
| index |
| name |
+ | text |
Scenario Outline: Locating divs using multiple parameters
When I search for the div by "<param1>" and "<param2>"
Then the text should be "page-object rocks!"
Scenarios:
- | param1 | param2 |
- | class | index |
- | name | index |
+ | param1 | param2 |
+ | class | index |
+ | name | index |