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
|
||||
Given I have installed Orchard
|
||||
When I go to "admin/users"
|
||||
Then I should see "Manage Users"
|
||||
Then I should see "Users"
|
||||
And I should see "<a[^>]*>admin</a>"
|
||||
|
||||
@management
|
||||
Scenario: I can create a new user
|
||||
Given I have installed Orchard
|
||||
When I go to "admin/users"
|
||||
Then I should see "Manage Users"
|
||||
Then I should see "Users"
|
||||
When I follow "Add a new user"
|
||||
And I fill in
|
||||
| name | value |
|
||||
|
6
src/Orchard.Specs/Users.feature.cs
generated
6
src/Orchard.Specs/Users.feature.cs
generated
@@ -2,7 +2,7 @@
|
||||
// <auto-generated>
|
||||
// This code was generated by SpecFlow (http://www.specflow.org/).
|
||||
// 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
|
||||
// the code is regenerated.
|
||||
@@ -67,7 +67,7 @@ this.ScenarioSetup(scenarioInfo);
|
||||
#line 9
|
||||
testRunner.When("I go to \"admin/users\"");
|
||||
#line 10
|
||||
testRunner.Then("I should see \"Manage Users\"");
|
||||
testRunner.Then("I should see \"Users\"");
|
||||
#line 11
|
||||
testRunner.And("I should see \"<a[^>]*>admin</a>\"");
|
||||
#line hidden
|
||||
@@ -88,7 +88,7 @@ this.ScenarioSetup(scenarioInfo);
|
||||
#line 16
|
||||
testRunner.When("I go to \"admin/users\"");
|
||||
#line 17
|
||||
testRunner.Then("I should see \"Manage Users\"");
|
||||
testRunner.Then("I should see \"Users\"");
|
||||
#line 18
|
||||
testRunner.When("I follow \"Add a new user\"");
|
||||
#line hidden
|
||||
|
Reference in New Issue
Block a user