features/check_box.feature in page-object-0.0.5 vs features/check_box.feature in page-object-0.1
- old
+ new
@@ -20,18 +20,20 @@
| search_by |
| id |
| class |
| name |
| xpath |
+ | index |
- @watir_only
- Scenario Outline: Locating check boxes on Watir only
- When I search for the check box by "<search_by>"
+ Scenario Outline: Locating check boxes using multiple parameters
+ When I search for the check box by "<param1>" and "<param2>"
Then I should be able to check the check box
Scenarios:
- | search_by |
- | index |
+ | param1 | param2 |
+ | class | index |
+ | name | index |
+
Scenario: Retrieve a CheckBox
When I retrieve a check box element
Then I should know it exists
And I should know it is visible