features/hidden_field.feature in page-object-0.6 vs features/hidden_field.feature in page-object-0.6.1
- old
+ new
@@ -7,11 +7,11 @@
When I retrieve the hidden field element
Then I should see the hidden field contains "12345"
Scenario Outline: Locating hidden fields on the Page
When I search for the hidden field by "<search_by>"
- Then hidden field element should contains "12345"
+ Then the hidden field element should contain "12345"
Scenarios:
| search_by |
| id |
| class |
@@ -23,15 +23,16 @@
| text |
| value |
Scenario Outline: Locating a hidden field using multiple parameters
When I search for the hidden field by "<param1>" and "<param2>"
- Then hidden field element should contains "12345"
+ Then the hidden field element should contain "12345"
Scenarios:
| param1 | param2 |
| class | index |
| name | index |
Scenario: Finding a hidden field dynamically
When I find a hidden field while the script is executing
- Then hidden field element should contains "12345"
+ Then I should see that the hidden field exists
+ And the hidden field element should contain "12345"