Fixed some more specflow tests.

This commit is contained in:
Sipke Schoorstra
2015-09-11 19:45:37 +01:00
parent db6d1912a7
commit ac8ee80b2a
4 changed files with 41 additions and 41 deletions

View File

@@ -67,7 +67,7 @@ Scenario: I can create a new blog with multiple blog posts each with the same ti
And I fill in
| name | value |
| Title.Title | My Post |
| Autoroute.CurrentUrl | my-blog/my-post |
| AutoroutePart.CurrentUrl | my-blog/my-post |
| Body.Text | Are you still there? |
And I hit "Publish Now"
And I go to "my-blog/my-post-3"
@@ -141,7 +141,7 @@ Scenario: I set my blog to be the content for the home page and the posts for th
And I fill in
| name | value |
| Title.Title | My Blog |
| Autoroute.PromoteToHomePage | true |
| AutoroutePart.PromoteToHomePage | true |
And I hit "Save"
And I go to "admin/blogs"
And I follow "My Blog"

View File

@@ -3,7 +3,7 @@
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:1.9.0.77
// SpecFlow Generator Version:1.9.0.0
// Runtime Version:4.0.30319.34014
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -234,7 +234,7 @@ this.ScenarioSetup(scenarioInfo);
"Title.Title",
"My Post"});
table6.AddRow(new string[] {
"Autoroute.CurrentUrl",
"AutoroutePart.CurrentUrl",
"my-blog/my-post"});
table6.AddRow(new string[] {
"Body.Text",
@@ -449,7 +449,7 @@ this.ScenarioSetup(scenarioInfo);
"Title.Title",
"My Blog"});
table12.AddRow(new string[] {
"Autoroute.PromoteToHomePage",
"AutoroutePart.PromoteToHomePage",
"true"});
#line 141
testRunner.And("I fill in", ((string)(null)), table12, "And ");

View File

@@ -25,7 +25,7 @@ Scenario: In the admin (menu) there is a link to create a Page
And I fill in
| name | value |
| Title.Title | Super Duper |
| LayoutPart.LayoutEditor.Data | { "type": "Content", "data": "TypeName=Orchard.Layouts.Elements.Text&Content=This+is+super+number+two", "isTemplated": false, "contentType": "Orchard.Layouts.Elements.Text", "contentTypeLabel": "Text", "contentTypeClass": "text", "html": "This is super number two", "hasEditor": true } |
| AutoroutePart.LayoutEditor.Data | { "type": "Content", "data": "TypeName=Orchard.Layouts.Elements.Text&Content=This+is+super+number+two", "isTemplated": false, "contentType": "Orchard.Layouts.Elements.Text", "contentTypeLabel": "Text", "contentTypeClass": "text", "html": "This is super number two", "hasEditor": true } |
And I hit "Publish Now"
And I go to "super-duper-2"
Then I should see "<h1[^>]*>.*?Super Duper.*?</h1>"
@@ -36,7 +36,7 @@ Scenario: In the admin (menu) there is a link to create a Page
And I fill in
| name | value |
| Title.Title | Another |
| Autoroute.PromoteToHomePage | true |
| AutoroutePart.PromoteToHomePage | true |
And I hit "Publish Now"
And I go to "/"
Then I should see "<h1>Another</h1>"
@@ -48,7 +48,7 @@ Scenario: In the admin (menu) there is a link to create a Page
And I fill in
| name | value |
| Title.Title | Drafty |
| Autoroute.PromoteToHomePage | true |
| AutoroutePart.PromoteToHomePage | true |
And I hit "Save"
And I go to "/"
Then I should see "<h1>Another</h1>"

View File

@@ -3,7 +3,7 @@
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:1.9.0.77
// SpecFlow Generator Version:1.9.0.0
// Runtime Version:4.0.30319.0
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -110,7 +110,7 @@ this.ScenarioSetup(scenarioInfo);
"Title.Title",
"Super Duper"});
table2.AddRow(new string[] {
"LayoutPart.LayoutEditor.Data",
"AutoroutePart.LayoutEditor.Data",
@"{ ""type"": ""Content"", ""data"": ""TypeName=Orchard.Layouts.Elements.Text&Content=This+is+super+number+two"", ""isTemplated"": false, ""contentType"": ""Orchard.Layouts.Elements.Text"", ""contentTypeLabel"": ""Text"", ""contentTypeClass"": ""text"", ""html"": ""This is super number two"", ""hasEditor"": true }"});
#line 25
testRunner.And("I fill in", ((string)(null)), table2, "And ");
@@ -132,7 +132,7 @@ this.ScenarioSetup(scenarioInfo);
"Title.Title",
"Another"});
table3.AddRow(new string[] {
"Autoroute.PromoteToHomePage",
"AutoroutePart.PromoteToHomePage",
"true"});
#line 36
testRunner.And("I fill in", ((string)(null)), table3, "And ");
@@ -156,7 +156,7 @@ this.ScenarioSetup(scenarioInfo);
"Title.Title",
"Drafty"});
table4.AddRow(new string[] {
"Autoroute.PromoteToHomePage",
"AutoroutePart.PromoteToHomePage",
"true"});
#line 48
testRunner.And("I fill in", ((string)(null)), table4, "And ");