Commit 6f9cbbd91fdcb82f3327e74b705f22a4f679b4ba

Authored by Daniel Cunha
1 parent 1e672edf

blog.feature

Showing 1 changed file with 13 additions and 13 deletions   Show diff stats
features/blog.feature
@@ -11,16 +11,16 @@ Feature: blog @@ -11,16 +11,16 @@ Feature: blog
11 And I am logged in as "joaosilva" 11 And I am logged in as "joaosilva"
12 12
13 Scenario: create a blog 13 Scenario: create a blog
14 - Given I go to the Control panel 14 + Given I go to joaosilva's control panel
15 And I follow "Create blog" 15 And I follow "Create blog"
16 Then I should see "My Blog" 16 Then I should see "My Blog"
17 When I fill in "Title" with "My Blog" 17 When I fill in "Title" with "My Blog"
18 And I press "Save" 18 And I press "Save"
19 - And I go to Joao Silva's control panel 19 + And I go to joaosilva's control panel
20 Then I should see "Configure blog" 20 Then I should see "Configure blog"
21 21
22 Scenario: redirect to blog after create blog from control panel 22 Scenario: redirect to blog after create blog from control panel
23 - Given I go to the Control panel 23 + Given I go to joaosilva's control panel
24 And I follow "Create blog" 24 And I follow "Create blog"
25 Then I should see "My Blog" 25 Then I should see "My Blog"
26 When I fill in "Title" with "My Blog" 26 When I fill in "Title" with "My Blog"
@@ -28,7 +28,7 @@ Feature: blog @@ -28,7 +28,7 @@ Feature: blog
28 Then I should be on /joaosilva/my-blog 28 Then I should be on /joaosilva/my-blog
29 29
30 Scenario: redirect to blog after create blog from cms 30 Scenario: redirect to blog after create blog from cms
31 - Given I go to the Control panel 31 + Given I go to joaosilva's control panel
32 And I follow "Manage Content" 32 And I follow "Manage Content"
33 And I follow "New content" 33 And I follow "New content"
34 When I follow "Blog" 34 When I follow "Blog"
@@ -37,13 +37,13 @@ Feature: blog @@ -37,13 +37,13 @@ Feature: blog
37 Then I should be on /joaosilva/blog-from-cms 37 Then I should be on /joaosilva/blog-from-cms
38 38
39 Scenario: create multiple blogs 39 Scenario: create multiple blogs
40 - Given I go to the Control panel 40 + Given I go to joaosilva's control panel
41 And I follow "Manage Content" 41 And I follow "Manage Content"
42 And I follow "New content" 42 And I follow "New content"
43 And I follow "Blog" 43 And I follow "Blog"
44 And I fill in "Title" with "Blog One" 44 And I fill in "Title" with "Blog One"
45 And I press "Save" 45 And I press "Save"
46 - Then I go to the Control panel 46 + Then I go to joaosilva's control panel
47 And I follow "Manage Content" 47 And I follow "Manage Content"
48 And I follow "New content" 48 And I follow "New content"
49 And I follow "Blog" 49 And I follow "Blog"
@@ -53,7 +53,7 @@ Feature: blog @@ -53,7 +53,7 @@ Feature: blog
53 And I should be on /joaosilva/blog-two 53 And I should be on /joaosilva/blog-two
54 54
55 Scenario: cancel button back to cms 55 Scenario: cancel button back to cms
56 - Given I go to the Control panel 56 + Given I go to joaosilva's control panel
57 And I follow "Manage Content" 57 And I follow "Manage Content"
58 And I follow "New content" 58 And I follow "New content"
59 And I follow "Blog" 59 And I follow "Blog"
@@ -61,7 +61,7 @@ Feature: blog @@ -61,7 +61,7 @@ Feature: blog
61 Then I should be on /myprofile/joaosilva/cms 61 Then I should be on /myprofile/joaosilva/cms
62 62
63 Scenario: cancel button back to myprofile 63 Scenario: cancel button back to myprofile
64 - Given I go to the Control panel 64 + Given I go to joaosilva's control panel
65 And I follow "Create blog" 65 And I follow "Create blog"
66 When I follow "Cancel" within ".main-block" 66 When I follow "Cancel" within ".main-block"
67 Then I should be on /myprofile/joaosilva 67 Then I should be on /myprofile/joaosilva
@@ -71,7 +71,7 @@ Feature: blog @@ -71,7 +71,7 @@ Feature: blog
71 | owner | name | 71 | owner | name |
72 | joaosilva | Blog One | 72 | joaosilva | Blog One |
73 | joaosilva | Blog Two | 73 | joaosilva | Blog Two |
74 - And I go to the Control panel 74 + And I go to joaosilva's control panel
75 When I follow "Configure blog" 75 When I follow "Configure blog"
76 Then I should be on /myprofile/joaosilva/cms 76 Then I should be on /myprofile/joaosilva/cms
77 77
@@ -79,7 +79,7 @@ Feature: blog @@ -79,7 +79,7 @@ Feature: blog
79 Given the following blogs 79 Given the following blogs
80 | owner | name | 80 | owner | name |
81 | joaosilva | Blog One | 81 | joaosilva | Blog One |
82 - And I go to the Control panel 82 + And I go to joaosilva's control panel
83 When I follow "Configure blog" 83 When I follow "Configure blog"
84 Then I should be on edit "Blog One" by joaosilva 84 Then I should be on edit "Blog One" by joaosilva
85 85
@@ -89,14 +89,14 @@ Feature: blog @@ -89,14 +89,14 @@ Feature: blog
89 | owner | name | 89 | owner | name |
90 | joaosilva | Blog One | 90 | joaosilva | Blog One |
91 And I go to /joaosilva/blog-one 91 And I go to /joaosilva/blog-one
92 - When I follow "Configure blog" and wait 92 + When I follow "Configure blog"
93 Then I should be on edit "Blog One" by joaosilva 93 Then I should be on edit "Blog One" by joaosilva
94 94
95 Scenario: change address of blog 95 Scenario: change address of blog
96 Given the following blogs 96 Given the following blogs
97 | owner | name | 97 | owner | name |
98 | joaosilva | Blog One | 98 | joaosilva | Blog One |
99 - And I go to the Control panel 99 + And I go to joaosilva's control panel
100 And I follow "Configure blog" 100 And I follow "Configure blog"
101 And I fill in "Address" with "blog-two" 101 And I fill in "Address" with "blog-two"
102 And I press "Save" 102 And I press "Save"
@@ -104,7 +104,7 @@ Feature: blog @@ -104,7 +104,7 @@ Feature: blog
104 Then I should see "Blog One" 104 Then I should see "Blog One"
105 105
106 Scenario: display tag list field when creating new blog 106 Scenario: display tag list field when creating new blog
107 - Given I go to the Control panel 107 + Given I go to joaosilva's control panel
108 And I follow "Manage Content" 108 And I follow "Manage Content"
109 And I follow "New content" 109 And I follow "New content"
110 When I follow "Blog" 110 When I follow "Blog"