features/check_box.feature in page-object-0.2.4 vs features/check_box.feature in page-object-0.2.5
- old
+ new
@@ -4,11 +4,11 @@
Background:
Given I am on the static elements page
- Scenario: Selecting an element on the select list
+ Scenario: Selecting a check box
When I select the First check box
Then the First check box should be selected
When I unselect the First check box
Then the First check box should not be selected
@@ -31,11 +31,13 @@
Scenarios:
| 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
+ Scenario: Finding a check box dynamically
+ When I select the first check box while the script is executing
+ Then the First check box should be selected