features/web_steps.feature in mechanical-cuke-0.2.0 vs features/web_steps.feature in mechanical-cuke-0.3.0
- old
+ new
@@ -24,20 +24,32 @@
And I fill in "field_by_id_id" with "ID Field"
And I fill in "Text Area by Label" with "Text Area Text"
And I fill in "Password by Label" with "Password Text"
And I select "Option Two" from "Select by Name"
And I choose "Radio Button One"
+ And I check "Unchecked Box"
+ And I uncheck "Checked Box"
And I press "Submit"
Then I should see "Label Field"
And I should see "Name Field"
And I should see "Option Two"
And I should see "Text Area Text"
And I should see "Password Text"
And I should see "Radio Button One Chosen"
But I should not see "Option One"
And I should not see "Radio Button Two Chosen"
+ And I should see "Unchecked Box Checked"
+ But I should not see "Checked Box Checked"
+ Scenario: Form Value Steps
+ Given I am on the form page
+ Then the "Checked Box" checkbox should be checked
+ And the "Unchecked Box" checkbox should not be checked
+ When I fill in "Field by Label" with "Label Field"
+ Then the "Field by Label" field should contain "Label Field"
+ And the "Field by Label" field should not contain "Oogy Boogy"
+
Scenario: Form Table Steps
Given I am on the form page
When I fill in the following:
| Field by Label | Labeled |
| field_by_name | Named |
@@ -45,9 +57,10 @@
And I press "Submit"
Then I should see "Labeled"
And I should see "Named"
And I should see "ID-ed"
+
@mock_launchy
Scenario: Save and Open Step
Given I am on the index page
Then show me the page