features/div.feature in page-object-0.0.5 vs features/div.feature in page-object-0.1
- old
+ new
@@ -22,24 +22,16 @@
Scenarios:
| search_by |
| id |
| class |
| xpath |
+ | index |
+ | name |
- @watir_only
- Scenario Outline: Locating divs on Watir only
- When I search for the div by "<search_by>"
+ 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:
- | search_by |
- | index |
-
-
- @selenium_only
- Scenario Outline: Locating divs on Selenium only
- When I search for the div by "<search_by>"
- Then the text should be "page-object rocks!"
-
- Scenarios:
- | search_by |
- | name |
+ | param1 | param2 |
+ | class | index |
+ | name | index |