Working SpecFlow POST support

Step named: When I hit "x"
locates input type submit with value "x"
locates the form surrounding that input
and sends a POST request to the embedded web host with all of the input values of that form element
Also added step: Given I have a clean site with
as a large-grained copier of extensions

--HG--
branch : dev
This commit is contained in:
Louis DeJardin
2010-04-20 14:27:43 -07:00
parent 5b3c213de4
commit 299a4ba74d
3 changed files with 203 additions and 6 deletions

View File

@@ -30,10 +30,13 @@ Scenario: Some of the initial form values are required
Then I should see "Site name is required"
And I should see "Password is required"
Scenario: Initializing the site
Given I have a clean site
And I have module "Orchard.Setup"
And I have theme "SafeMode"
Scenario: Calling setup on a brand new install
Given I have a clean site with
| extension | name |
| module | Orchard.Setup |
| core | Themes |
| core | Settings |
| theme | SafeMode |
And I am on "/Setup"
When I fill in
| name | value |