features/span.feature in page-object-0.0.5 vs features/span.feature in page-object-0.1
- old
+ new
@@ -14,24 +14,16 @@
Scenarios:
| search_by |
| id |
| class |
| xpath |
+ | index |
+ | name |
- @watir_only
- Scenario Outline: Locating span on Watir only
- When I search for the span by "<search_by>"
+ Scenario Outline: Locating span using multiple parameters
+ When I search for the span by "<param1>" and "<param2>"
Then the text should be "My alert"
Scenarios:
- | search_by |
- | index |
-
-
- @selenium_only
- Scenario Outline: Locating span on Selenium only
- When I search for the span by "<search_by>"
- Then the text should be "My alert"
-
- Scenarios:
- | search_by |
- | name |
+ | param1 | param2 |
+ | class | index |
+ | name | index |