mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 10:07:55 +08:00
Fixing multi-tenancy specflow tests
--HG-- branch : 1.x
This commit is contained in:
@@ -8,7 +8,7 @@ Scenario: Default site is listed
|
||||
And I have installed "Orchard.MultiTenancy"
|
||||
When I go to "Admin/MultiTenancy"
|
||||
Then I should see "List of Site's Tenants"
|
||||
And I should see "<h3>Default</h3>"
|
||||
And I should see "<h3>Default\s*</h3>"
|
||||
And the status should be 200 "OK"
|
||||
|
||||
Scenario: New tenant fields are required
|
||||
@@ -27,7 +27,7 @@ Scenario: A new tenant is created
|
||||
| Name | Scott |
|
||||
And I hit "Save"
|
||||
And I am redirected
|
||||
Then I should see "<h3>Scott</h3>"
|
||||
Then I should see "<h3>Scott\s*</h3>"
|
||||
And the status should be 200 "OK"
|
||||
|
||||
Scenario: A new tenant is created with uninitialized state
|
||||
|
4
src/Orchard.Specs/MultiTenancy.feature.cs
generated
4
src/Orchard.Specs/MultiTenancy.feature.cs
generated
@@ -81,7 +81,7 @@ this.ScenarioSetup(scenarioInfo);
|
||||
#line 10
|
||||
testRunner.Then("I should see \"List of Site's Tenants\"");
|
||||
#line 11
|
||||
testRunner.And("I should see \"<h3>Default</h3>\"");
|
||||
testRunner.And("I should see \"<h3>Default\\s*</h3>\"");
|
||||
#line 12
|
||||
testRunner.And("the status should be 200 \"OK\"");
|
||||
#line hidden
|
||||
@@ -136,7 +136,7 @@ this.ScenarioSetup(scenarioInfo);
|
||||
#line 29
|
||||
testRunner.And("I am redirected");
|
||||
#line 30
|
||||
testRunner.Then("I should see \"<h3>Scott</h3>\"");
|
||||
testRunner.Then("I should see \"<h3>Scott\\s*</h3>\"");
|
||||
#line 31
|
||||
testRunner.And("the status should be 200 \"OK\"");
|
||||
#line hidden
|
||||
|
Reference in New Issue
Block a user