mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing users spec flows.
--HG-- branch : 1.x
This commit is contained in:
@@ -7,14 +7,14 @@
|
|||||||
Scenario: There is only one user by default
|
Scenario: There is only one user by default
|
||||||
Given I have installed Orchard
|
Given I have installed Orchard
|
||||||
When I go to "admin/users"
|
When I go to "admin/users"
|
||||||
Then I should see "Manage Users"
|
Then I should see "Users"
|
||||||
And I should see "<a[^>]*>admin</a>"
|
And I should see "<a[^>]*>admin</a>"
|
||||||
|
|
||||||
@management
|
@management
|
||||||
Scenario: I can create a new user
|
Scenario: I can create a new user
|
||||||
Given I have installed Orchard
|
Given I have installed Orchard
|
||||||
When I go to "admin/users"
|
When I go to "admin/users"
|
||||||
Then I should see "Manage Users"
|
Then I should see "Users"
|
||||||
When I follow "Add a new user"
|
When I follow "Add a new user"
|
||||||
And I fill in
|
And I fill in
|
||||||
| name | value |
|
| name | value |
|
||||||
|
6
src/Orchard.Specs/Users.feature.cs
generated
6
src/Orchard.Specs/Users.feature.cs
generated
@@ -2,7 +2,7 @@
|
|||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by SpecFlow (http://www.specflow.org/).
|
// This code was generated by SpecFlow (http://www.specflow.org/).
|
||||||
// SpecFlow Version:1.5.0.0
|
// SpecFlow Version:1.5.0.0
|
||||||
// Runtime Version:4.0.30319.225
|
// Runtime Version:4.0.30319.1
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
@@ -67,7 +67,7 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
#line 9
|
#line 9
|
||||||
testRunner.When("I go to \"admin/users\"");
|
testRunner.When("I go to \"admin/users\"");
|
||||||
#line 10
|
#line 10
|
||||||
testRunner.Then("I should see \"Manage Users\"");
|
testRunner.Then("I should see \"Users\"");
|
||||||
#line 11
|
#line 11
|
||||||
testRunner.And("I should see \"<a[^>]*>admin</a>\"");
|
testRunner.And("I should see \"<a[^>]*>admin</a>\"");
|
||||||
#line hidden
|
#line hidden
|
||||||
@@ -88,7 +88,7 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
#line 16
|
#line 16
|
||||||
testRunner.When("I go to \"admin/users\"");
|
testRunner.When("I go to \"admin/users\"");
|
||||||
#line 17
|
#line 17
|
||||||
testRunner.Then("I should see \"Manage Users\"");
|
testRunner.Then("I should see \"Users\"");
|
||||||
#line 18
|
#line 18
|
||||||
testRunner.When("I follow \"Add a new user\"");
|
testRunner.When("I follow \"Add a new user\"");
|
||||||
#line hidden
|
#line hidden
|
||||||
|
Reference in New Issue
Block a user