mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Updating specflow test case.
--HG-- branch : recipe
This commit is contained in:
@@ -48,6 +48,7 @@ Scenario: Calling setup on a brand new install
|
|||||||
| SiteName | My Site |
|
| SiteName | My Site |
|
||||||
| AdminPassword | 6655321 |
|
| AdminPassword | 6655321 |
|
||||||
| ConfirmPassword | 6655321 |
|
| ConfirmPassword | 6655321 |
|
||||||
|
| Recipe | Minimal |
|
||||||
And I hit "Finish Setup"
|
And I hit "Finish Setup"
|
||||||
And I go to "/"
|
And I go to "/"
|
||||||
Then I should see "My Site"
|
Then I should see "My Site"
|
||||||
|
11
src/Orchard.Specs/Setup.feature.cs
generated
11
src/Orchard.Specs/Setup.feature.cs
generated
@@ -203,15 +203,18 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
table5.AddRow(new string[] {
|
table5.AddRow(new string[] {
|
||||||
"ConfirmPassword",
|
"ConfirmPassword",
|
||||||
"6655321"});
|
"6655321"});
|
||||||
|
table5.AddRow(new string[] {
|
||||||
|
"Recipe",
|
||||||
|
"Minimal"});
|
||||||
#line 46
|
#line 46
|
||||||
testRunner.When("I fill in", ((string)(null)), table5);
|
testRunner.When("I fill in", ((string)(null)), table5);
|
||||||
#line 51
|
|
||||||
testRunner.And("I hit \"Finish Setup\"");
|
|
||||||
#line 52
|
#line 52
|
||||||
testRunner.And("I go to \"/\"");
|
testRunner.And("I hit \"Finish Setup\"");
|
||||||
#line 53
|
#line 53
|
||||||
testRunner.Then("I should see \"My Site\"");
|
testRunner.And("I go to \"/\"");
|
||||||
#line 54
|
#line 54
|
||||||
|
testRunner.Then("I should see \"My Site\"");
|
||||||
|
#line 55
|
||||||
testRunner.And("I should see \"Welcome, <strong><a href=\"/Users/Account/ChangePassword\">admin</a><" +
|
testRunner.And("I should see \"Welcome, <strong><a href=\"/Users/Account/ChangePassword\">admin</a><" +
|
||||||
"/strong>!\"");
|
"/strong>!\"");
|
||||||
#line hidden
|
#line hidden
|
||||||
|
Reference in New Issue
Block a user