mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Un-tabify and re-gen all specflow test files
--HG-- branch : dev
This commit is contained in:
@@ -1,24 +1,24 @@
|
|||||||
Feature: Media management
|
Feature: Media management
|
||||||
In order to reference images and such from content
|
In order to reference images and such from content
|
||||||
As an author
|
As an author
|
||||||
I want to upload and manage files in a media folder
|
I want to upload and manage files in a media folder
|
||||||
|
|
||||||
Scenario: Media admin is available
|
Scenario: Media admin is available
|
||||||
Given I have installed Orchard
|
Given I have installed Orchard
|
||||||
And I have installed "Orchard.Media"
|
And I have installed "Orchard.Media"
|
||||||
When I go to "admin/media"
|
When I go to "admin/media"
|
||||||
Then I should see "Manage Media Folders"
|
Then I should see "Manage Media Folders"
|
||||||
And the status should be 200 OK
|
And the status should be 200 OK
|
||||||
|
|
||||||
Scenario: Creating a folder
|
Scenario: Creating a folder
|
||||||
Given I have installed Orchard
|
Given I have installed Orchard
|
||||||
And I have installed "Orchard.Media"
|
And I have installed "Orchard.Media"
|
||||||
When I go to "admin/media/create"
|
When I go to "admin/media/create"
|
||||||
And I fill in
|
And I fill in
|
||||||
| name | value |
|
| name | value |
|
||||||
| Name | Hello World |
|
| Name | Hello World |
|
||||||
And I hit "Save"
|
And I hit "Save"
|
||||||
And I am redirected
|
And I am redirected
|
||||||
Then I should see "Manage Media Folders"
|
Then I should see "Manage Media Folders"
|
||||||
And I should see "Hello World"
|
And I should see "Hello World"
|
||||||
And the status should be 200 OK
|
And the status should be 200 OK
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
Feature: Module management
|
Feature: Module management
|
||||||
In order add and enable features
|
In order add and enable features
|
||||||
As a root Orchard system operator
|
As a root Orchard system operator
|
||||||
I want to install and enable modules and enable features
|
I want to install and enable modules and enable features
|
||||||
|
|
||||||
Scenario: Installed modules are listed
|
Scenario: Installed modules are listed
|
||||||
Given I have installed Orchard
|
Given I have installed Orchard
|
||||||
When I go to "admin/modules"
|
When I go to "admin/modules"
|
||||||
Then I should see "<h1>Installed Modules</h1>"
|
Then I should see "<h1>Installed Modules</h1>"
|
||||||
And I should see "<h2>Themes"
|
And I should see "<h2>Themes"
|
||||||
And the status should be 200 OK
|
And the status should be 200 OK
|
||||||
|
|
||||||
Scenario: Features of installed modules are listed
|
Scenario: Features of installed modules are listed
|
||||||
Given I have installed Orchard
|
Given I have installed Orchard
|
||||||
|
|||||||
@@ -1,49 +1,49 @@
|
|||||||
Feature: Setup
|
Feature: Setup
|
||||||
In order to install orchard
|
In order to install orchard
|
||||||
As a new user
|
As a new user
|
||||||
I want to setup a new site from the default screen
|
I want to setup a new site from the default screen
|
||||||
|
|
||||||
Scenario: Root request shows setup form
|
Scenario: Root request shows setup form
|
||||||
Given I have a clean site
|
Given I have a clean site
|
||||||
And I have module "Orchard.Setup"
|
And I have module "Orchard.Setup"
|
||||||
And I have theme "SafeMode"
|
And I have theme "SafeMode"
|
||||||
When I go to "/Default.aspx"
|
When I go to "/Default.aspx"
|
||||||
Then I should see "Welcome to Orchard"
|
Then I should see "Welcome to Orchard"
|
||||||
And I should see "Finish Setup"
|
And I should see "Finish Setup"
|
||||||
And the status should be 200 OK
|
And the status should be 200 OK
|
||||||
|
|
||||||
Scenario: Setup folder also shows setup form
|
Scenario: Setup folder also shows setup form
|
||||||
Given I have a clean site
|
Given I have a clean site
|
||||||
And I have module "Orchard.Setup"
|
And I have module "Orchard.Setup"
|
||||||
And I have theme "SafeMode"
|
And I have theme "SafeMode"
|
||||||
When I go to "/Setup"
|
When I go to "/Setup"
|
||||||
Then I should see "Welcome to Orchard"
|
Then I should see "Welcome to Orchard"
|
||||||
And I should see "Finish Setup"
|
And I should see "Finish Setup"
|
||||||
And the status should be 200 OK
|
And the status should be 200 OK
|
||||||
|
|
||||||
Scenario: Some of the initial form values are required
|
Scenario: Some of the initial form values are required
|
||||||
Given I have a clean site
|
Given I have a clean site
|
||||||
And I have module "Orchard.Setup"
|
And I have module "Orchard.Setup"
|
||||||
And I have theme "SafeMode"
|
And I have theme "SafeMode"
|
||||||
When I go to "/Setup"
|
When I go to "/Setup"
|
||||||
And I hit "Finish Setup"
|
And I hit "Finish Setup"
|
||||||
Then I should see "Site name is required"
|
Then I should see "Site name is required"
|
||||||
And I should see "Password is required"
|
And I should see "Password is required"
|
||||||
|
|
||||||
Scenario: Calling setup on a brand new install
|
Scenario: Calling setup on a brand new install
|
||||||
Given I have a clean site with
|
Given I have a clean site with
|
||||||
| extension | names |
|
| extension | names |
|
||||||
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, TinyMce |
|
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, TinyMce |
|
||||||
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, XmlRpc |
|
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, XmlRpc |
|
||||||
| theme | SafeMode, Classic |
|
| theme | SafeMode, Classic |
|
||||||
And I am on "/Setup"
|
And I am on "/Setup"
|
||||||
When I fill in
|
When I fill in
|
||||||
| name | value |
|
| name | value |
|
||||||
| SiteName | My Site |
|
| SiteName | My Site |
|
||||||
| AdminPassword | 6655321 |
|
| AdminPassword | 6655321 |
|
||||||
| ConfirmPassword | 6655321 |
|
| ConfirmPassword | 6655321 |
|
||||||
And I hit "Finish Setup"
|
And I hit "Finish Setup"
|
||||||
And I go to "/Default.aspx"
|
And I go to "/Default.aspx"
|
||||||
Then I should see "<h1>My Site</h1>"
|
Then I should see "<h1>My Site</h1>"
|
||||||
And I should see "Welcome, <strong>admin</strong>!"
|
And I should see "Welcome, <strong>admin</strong>!"
|
||||||
And I should see "you've successfully set-up your Orchard site"
|
And I should see "you've successfully set-up your Orchard site"
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
Feature: Using SpecFlow
|
Feature: Using SpecFlow
|
||||||
In order to test Orchard
|
In order to test Orchard
|
||||||
As a developer or contributor
|
As a developer or contributor
|
||||||
I want to define scenarios that ensure functionality
|
I want to define scenarios that ensure functionality
|
||||||
|
|
||||||
Scenario: Spec flow generates and runs via nunit
|
Scenario: Spec flow generates and runs via nunit
|
||||||
Given I have a scenario
|
Given I have a scenario
|
||||||
When I run steps
|
When I run steps
|
||||||
And they have values like "5"
|
And they have values like "5"
|
||||||
Then they run
|
Then they run
|
||||||
And values like five are captured
|
And values like five are captured
|
||||||
|
|||||||
18
src/Orchard.Specs/UsingSpecFlow.feature.cs
generated
18
src/Orchard.Specs/UsingSpecFlow.feature.cs
generated
@@ -1,18 +1,21 @@
|
|||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
// <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.2.0.0
|
// SpecFlow Version:1.3.2.0
|
||||||
// Runtime Version:2.0.50727.4927
|
// 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.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
#region Designer generated code
|
||||||
namespace Orchard.Specs
|
namespace Orchard.Specs
|
||||||
{
|
{
|
||||||
using TechTalk.SpecFlow;
|
using TechTalk.SpecFlow;
|
||||||
|
|
||||||
|
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.3.2.0")]
|
||||||
|
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[NUnit.Framework.TestFixtureAttribute()]
|
[NUnit.Framework.TestFixtureAttribute()]
|
||||||
[NUnit.Framework.DescriptionAttribute("Using SpecFlow")]
|
[NUnit.Framework.DescriptionAttribute("Using SpecFlow")]
|
||||||
public partial class UsingSpecFlowFeature
|
public partial class UsingSpecFlowFeature
|
||||||
@@ -58,17 +61,18 @@ namespace Orchard.Specs
|
|||||||
#line 6
|
#line 6
|
||||||
this.ScenarioSetup(scenarioInfo);
|
this.ScenarioSetup(scenarioInfo);
|
||||||
#line 7
|
#line 7
|
||||||
testRunner.Given("I have a scenario");
|
testRunner.Given("I have a scenario");
|
||||||
#line 8
|
#line 8
|
||||||
testRunner.When("I run steps");
|
testRunner.When("I run steps");
|
||||||
#line 9
|
#line 9
|
||||||
testRunner.And("they have values like \"5\"");
|
testRunner.And("they have values like \"5\"");
|
||||||
#line 10
|
#line 10
|
||||||
testRunner.Then("they run");
|
testRunner.Then("they run");
|
||||||
#line 11
|
#line 11
|
||||||
testRunner.And("values like five are captured");
|
testRunner.And("values like five are captured");
|
||||||
#line hidden
|
#line hidden
|
||||||
testRunner.CollectScenarioErrors();
|
testRunner.CollectScenarioErrors();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|||||||
@@ -1,52 +1,52 @@
|
|||||||
Feature: Web Hosting
|
Feature: Web Hosting
|
||||||
In order to test orchard
|
In order to test orchard
|
||||||
As an integration runner
|
As an integration runner
|
||||||
I want to verify basic hosting is working
|
I want to verify basic hosting is working
|
||||||
|
|
||||||
Scenario: Returning static files
|
Scenario: Returning static files
|
||||||
Given I have a clean site based on Simple.Web
|
Given I have a clean site based on Simple.Web
|
||||||
When I go to "Content/Static.txt"
|
When I go to "Content/Static.txt"
|
||||||
Then I should see "Hello world!"
|
Then I should see "Hello world!"
|
||||||
And the status should be 200 OK
|
And the status should be 200 OK
|
||||||
|
|
||||||
Scenario: Returning web forms page
|
Scenario: Returning web forms page
|
||||||
Given I have a clean site based on Simple.Web
|
Given I have a clean site based on Simple.Web
|
||||||
When I go to "Simple/Page.aspx"
|
When I go to "Simple/Page.aspx"
|
||||||
Then I should see "Hello again"
|
Then I should see "Hello again"
|
||||||
And the status should be 200 OK
|
And the status should be 200 OK
|
||||||
|
|
||||||
Scenario: Returning a routed request
|
Scenario: Returning a routed request
|
||||||
Given I have a clean site based on Simple.Web
|
Given I have a clean site based on Simple.Web
|
||||||
When I go to "hello-world"
|
When I go to "hello-world"
|
||||||
Then the status should be 200 OK
|
Then the status should be 200 OK
|
||||||
And I should see "Hello yet again"
|
And I should see "Hello yet again"
|
||||||
|
|
||||||
Scenario: Following a link
|
Scenario: Following a link
|
||||||
Given I have a clean site based on Simple.Web
|
Given I have a clean site based on Simple.Web
|
||||||
When I go to "/simple/page.aspx"
|
When I go to "/simple/page.aspx"
|
||||||
And I follow "next page"
|
And I follow "next page"
|
||||||
Then the status should be 200 OK
|
Then the status should be 200 OK
|
||||||
And I should see "Hello yet again"
|
And I should see "Hello yet again"
|
||||||
|
|
||||||
Scenario: Submitting a form with input, default, and hidden fields
|
Scenario: Submitting a form with input, default, and hidden fields
|
||||||
Given I have a clean site based on Simple.Web
|
Given I have a clean site based on Simple.Web
|
||||||
And I am on "/simple/page.aspx"
|
And I am on "/simple/page.aspx"
|
||||||
When I fill in
|
When I fill in
|
||||||
| name | value |
|
| name | value |
|
||||||
| input1 | gamma |
|
| input1 | gamma |
|
||||||
And I hit "Go!"
|
And I hit "Go!"
|
||||||
Then I should see "passthrough1:alpha"
|
Then I should see "passthrough1:alpha"
|
||||||
And I should see "passthrough2:beta"
|
And I should see "passthrough2:beta"
|
||||||
And I should see "input1:gamma"
|
And I should see "input1:gamma"
|
||||||
|
|
||||||
Scenario: Cookies follow along your request
|
Scenario: Cookies follow along your request
|
||||||
Given I have a clean site based on Simple.Web
|
Given I have a clean site based on Simple.Web
|
||||||
When I go to "/simple/cookie-set.aspx"
|
When I go to "/simple/cookie-set.aspx"
|
||||||
And I go to "/simple/cookie-show.aspx"
|
And I go to "/simple/cookie-show.aspx"
|
||||||
Then I should see "foo:bar"
|
Then I should see "foo:bar"
|
||||||
|
|
||||||
Scenario: Being redirected
|
Scenario: Being redirected
|
||||||
Given I have a clean site based on Simple.Web
|
Given I have a clean site based on Simple.Web
|
||||||
When I go to "/simple/redir.aspx"
|
When I go to "/simple/redir.aspx"
|
||||||
And I am redirected
|
And I am redirected
|
||||||
Then I should see "Hello again"
|
Then I should see "Hello again"
|
||||||
|
|||||||
72
src/Orchard.Specs/WebHosting.feature.cs
generated
72
src/Orchard.Specs/WebHosting.feature.cs
generated
@@ -1,18 +1,21 @@
|
|||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
// <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.2.0.0
|
// SpecFlow Version:1.3.2.0
|
||||||
// Runtime Version:2.0.50727.4200
|
// 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.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
#region Designer generated code
|
||||||
namespace Orchard.Specs
|
namespace Orchard.Specs
|
||||||
{
|
{
|
||||||
using TechTalk.SpecFlow;
|
using TechTalk.SpecFlow;
|
||||||
|
|
||||||
|
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.3.2.0")]
|
||||||
|
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[NUnit.Framework.TestFixtureAttribute()]
|
[NUnit.Framework.TestFixtureAttribute()]
|
||||||
[NUnit.Framework.DescriptionAttribute("Web Hosting")]
|
[NUnit.Framework.DescriptionAttribute("Web Hosting")]
|
||||||
public partial class WebHostingFeature
|
public partial class WebHostingFeature
|
||||||
@@ -58,13 +61,13 @@ namespace Orchard.Specs
|
|||||||
#line 6
|
#line 6
|
||||||
this.ScenarioSetup(scenarioInfo);
|
this.ScenarioSetup(scenarioInfo);
|
||||||
#line 7
|
#line 7
|
||||||
testRunner.Given("I have a clean site based on Simple.Web");
|
testRunner.Given("I have a clean site based on Simple.Web");
|
||||||
#line 8
|
#line 8
|
||||||
testRunner.When("I go to \"Content/Static.txt\"");
|
testRunner.When("I go to \"Content/Static.txt\"");
|
||||||
#line 9
|
#line 9
|
||||||
testRunner.Then("I should see \"Hello world!\"");
|
testRunner.Then("I should see \"Hello world!\"");
|
||||||
#line 10
|
#line 10
|
||||||
testRunner.And("the status should be 200 OK");
|
testRunner.And("the status should be 200 OK");
|
||||||
#line hidden
|
#line hidden
|
||||||
testRunner.CollectScenarioErrors();
|
testRunner.CollectScenarioErrors();
|
||||||
}
|
}
|
||||||
@@ -77,13 +80,13 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
#line 12
|
#line 12
|
||||||
this.ScenarioSetup(scenarioInfo);
|
this.ScenarioSetup(scenarioInfo);
|
||||||
#line 13
|
#line 13
|
||||||
testRunner.Given("I have a clean site based on Simple.Web");
|
testRunner.Given("I have a clean site based on Simple.Web");
|
||||||
#line 14
|
#line 14
|
||||||
testRunner.When("I go to \"Simple/Page.aspx\"");
|
testRunner.When("I go to \"Simple/Page.aspx\"");
|
||||||
#line 15
|
#line 15
|
||||||
testRunner.Then("I should see \"Hello again\"");
|
testRunner.Then("I should see \"Hello again\"");
|
||||||
#line 16
|
#line 16
|
||||||
testRunner.And("the status should be 200 OK");
|
testRunner.And("the status should be 200 OK");
|
||||||
#line hidden
|
#line hidden
|
||||||
testRunner.CollectScenarioErrors();
|
testRunner.CollectScenarioErrors();
|
||||||
}
|
}
|
||||||
@@ -96,13 +99,13 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
#line 18
|
#line 18
|
||||||
this.ScenarioSetup(scenarioInfo);
|
this.ScenarioSetup(scenarioInfo);
|
||||||
#line 19
|
#line 19
|
||||||
testRunner.Given("I have a clean site based on Simple.Web");
|
testRunner.Given("I have a clean site based on Simple.Web");
|
||||||
#line 20
|
#line 20
|
||||||
testRunner.When("I go to \"hello-world\"");
|
testRunner.When("I go to \"hello-world\"");
|
||||||
#line 21
|
#line 21
|
||||||
testRunner.Then("the status should be 200 OK");
|
testRunner.Then("the status should be 200 OK");
|
||||||
#line 22
|
#line 22
|
||||||
testRunner.And("I should see \"Hello yet again\"");
|
testRunner.And("I should see \"Hello yet again\"");
|
||||||
#line hidden
|
#line hidden
|
||||||
testRunner.CollectScenarioErrors();
|
testRunner.CollectScenarioErrors();
|
||||||
}
|
}
|
||||||
@@ -115,15 +118,15 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
#line 24
|
#line 24
|
||||||
this.ScenarioSetup(scenarioInfo);
|
this.ScenarioSetup(scenarioInfo);
|
||||||
#line 25
|
#line 25
|
||||||
testRunner.Given("I have a clean site based on Simple.Web");
|
testRunner.Given("I have a clean site based on Simple.Web");
|
||||||
#line 26
|
#line 26
|
||||||
testRunner.When("I go to \"/simple/page.aspx\"");
|
testRunner.When("I go to \"/simple/page.aspx\"");
|
||||||
#line 27
|
#line 27
|
||||||
testRunner.And("I follow \"next page\"");
|
testRunner.And("I follow \"next page\"");
|
||||||
#line 28
|
#line 28
|
||||||
testRunner.Then("the status should be 200 OK");
|
testRunner.Then("the status should be 200 OK");
|
||||||
#line 29
|
#line 29
|
||||||
testRunner.And("I should see \"Hello yet again\"");
|
testRunner.And("I should see \"Hello yet again\"");
|
||||||
#line hidden
|
#line hidden
|
||||||
testRunner.CollectScenarioErrors();
|
testRunner.CollectScenarioErrors();
|
||||||
}
|
}
|
||||||
@@ -136,9 +139,9 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
#line 31
|
#line 31
|
||||||
this.ScenarioSetup(scenarioInfo);
|
this.ScenarioSetup(scenarioInfo);
|
||||||
#line 32
|
#line 32
|
||||||
testRunner.Given("I have a clean site based on Simple.Web");
|
testRunner.Given("I have a clean site based on Simple.Web");
|
||||||
#line 33
|
#line 33
|
||||||
testRunner.And("I am on \"/simple/page.aspx\"");
|
testRunner.And("I am on \"/simple/page.aspx\"");
|
||||||
#line hidden
|
#line hidden
|
||||||
TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] {
|
TechTalk.SpecFlow.Table table1 = new TechTalk.SpecFlow.Table(new string[] {
|
||||||
"name",
|
"name",
|
||||||
@@ -147,15 +150,15 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
"input1",
|
"input1",
|
||||||
"gamma"});
|
"gamma"});
|
||||||
#line 34
|
#line 34
|
||||||
testRunner.When("I fill in", ((string)(null)), table1);
|
testRunner.When("I fill in", ((string)(null)), table1);
|
||||||
#line 37
|
#line 37
|
||||||
testRunner.And("I hit \"Go!\"");
|
testRunner.And("I hit \"Go!\"");
|
||||||
#line 38
|
#line 38
|
||||||
testRunner.Then("I should see \"passthrough1:alpha\"");
|
testRunner.Then("I should see \"passthrough1:alpha\"");
|
||||||
#line 39
|
#line 39
|
||||||
testRunner.And("I should see \"passthrough2:beta\"");
|
testRunner.And("I should see \"passthrough2:beta\"");
|
||||||
#line 40
|
#line 40
|
||||||
testRunner.And("I should see \"input1:gamma\"");
|
testRunner.And("I should see \"input1:gamma\"");
|
||||||
#line hidden
|
#line hidden
|
||||||
testRunner.CollectScenarioErrors();
|
testRunner.CollectScenarioErrors();
|
||||||
}
|
}
|
||||||
@@ -168,13 +171,13 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
#line 42
|
#line 42
|
||||||
this.ScenarioSetup(scenarioInfo);
|
this.ScenarioSetup(scenarioInfo);
|
||||||
#line 43
|
#line 43
|
||||||
testRunner.Given("I have a clean site based on Simple.Web");
|
testRunner.Given("I have a clean site based on Simple.Web");
|
||||||
#line 44
|
#line 44
|
||||||
testRunner.When("I go to \"/simple/cookie-set.aspx\"");
|
testRunner.When("I go to \"/simple/cookie-set.aspx\"");
|
||||||
#line 45
|
#line 45
|
||||||
testRunner.And("I go to \"/simple/cookie-show.aspx\"");
|
testRunner.And("I go to \"/simple/cookie-show.aspx\"");
|
||||||
#line 46
|
#line 46
|
||||||
testRunner.Then("I should see \"foo:bar\"");
|
testRunner.Then("I should see \"foo:bar\"");
|
||||||
#line hidden
|
#line hidden
|
||||||
testRunner.CollectScenarioErrors();
|
testRunner.CollectScenarioErrors();
|
||||||
}
|
}
|
||||||
@@ -187,15 +190,16 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
#line 48
|
#line 48
|
||||||
this.ScenarioSetup(scenarioInfo);
|
this.ScenarioSetup(scenarioInfo);
|
||||||
#line 49
|
#line 49
|
||||||
testRunner.Given("I have a clean site based on Simple.Web");
|
testRunner.Given("I have a clean site based on Simple.Web");
|
||||||
#line 50
|
#line 50
|
||||||
testRunner.When("I go to \"/simple/redir.aspx\"");
|
testRunner.When("I go to \"/simple/redir.aspx\"");
|
||||||
#line 51
|
#line 51
|
||||||
testRunner.And("I am redirected");
|
testRunner.And("I am redirected");
|
||||||
#line 52
|
#line 52
|
||||||
testRunner.Then("I should see \"Hello again\"");
|
testRunner.Then("I should see \"Hello again\"");
|
||||||
#line hidden
|
#line hidden
|
||||||
testRunner.CollectScenarioErrors();
|
testRunner.CollectScenarioErrors();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user