Commit 9f8512d95f1ad02e7df4fac21705befcaeed6380

Authored by Daniela Feitosa
1 parent 3e183952

Fixed test: features/login.feature

Showing 1 changed file with 17 additions and 17 deletions   Show diff stats
features/login.feature
@@ -28,29 +28,29 @@ Feature: login @@ -28,29 +28,29 @@ Feature: login
28 And the following articles 28 And the following articles
29 | owner | name | homepage | 29 | owner | name | homepage |
30 | mariasilva | my home page | true | 30 | mariasilva | my home page | true |
31 - And I go to Maria Silva's homepage 31 + And I go to mariasilva's homepage
32 And I follow "Login" 32 And I follow "Login"
33 And I fill in the following: 33 And I fill in the following:
34 | Username | joaosilva | 34 | Username | joaosilva |
35 | Password | 123456 | 35 | Password | 123456 |
36 When I press "Log in" 36 When I press "Log in"
37 - Then I should be on Maria Silva's homepage 37 + Then I should be on mariasilva's homepage
38 38
39 Scenario: view my control panel 39 Scenario: view my control panel
40 Given feature "allow_change_of_redirection_after_login" is disabled on environment 40 Given feature "allow_change_of_redirection_after_login" is disabled on environment
41 And I am not logged in 41 And I am not logged in
42 - And I go to Joao Silva's control panel 42 + And I go to joaosilva's control panel
43 And I should be on login page 43 And I should be on login page
44 And I fill in the following: 44 And I fill in the following:
45 | Username | joaosilva | 45 | Username | joaosilva |
46 | Password | 123456 | 46 | Password | 123456 |
47 When I press "Log in" 47 When I press "Log in"
48 - Then I should be on Joao Silva's control panel 48 + Then I should be on joaosilva's control panel
49 49
50 Scenario: be redirected if user goes to login page and is logged 50 Scenario: be redirected if user goes to login page and is logged
51 Given I am logged in as "joaosilva" 51 Given I am logged in as "joaosilva"
52 And I go to login page 52 And I go to login page
53 - Then I should be on Joao Silva's control panel 53 + Then I should be on joaosilva's control panel
54 54
55 Scenario: stay on the same page after login if this is the environment default 55 Scenario: stay on the same page after login if this is the environment default
56 Given feature "allow_change_of_redirection_after_login" is enabled on environment 56 Given feature "allow_change_of_redirection_after_login" is enabled on environment
@@ -62,19 +62,19 @@ Feature: login @@ -62,19 +62,19 @@ Feature: login
62 And the following articles 62 And the following articles
63 | owner | name | homepage | 63 | owner | name | homepage |
64 | mariasilva | my home page | true | 64 | mariasilva | my home page | true |
65 - And I go to Maria Silva's homepage 65 + And I go to mariasilva's homepage
66 And I follow "Login" 66 And I follow "Login"
67 And I fill in the following: 67 And I fill in the following:
68 | Username | joaosilva | 68 | Username | joaosilva |
69 | Password | 123456 | 69 | Password | 123456 |
70 When I press "Log in" 70 When I press "Log in"
71 - Then I should be on Maria Silva's homepage 71 + Then I should be on mariasilva's homepage
72 72
73 Scenario: go to site homepage if this is the environment default 73 Scenario: go to site homepage if this is the environment default
74 Given feature "allow_change_of_redirection_after_login" is enabled on environment 74 Given feature "allow_change_of_redirection_after_login" is enabled on environment
75 And I am not logged in 75 And I am not logged in
76 And the environment is configured to redirect to site homepage after login 76 And the environment is configured to redirect to site homepage after login
77 - And I go to Joao Silva's homepage 77 + And I go to joaosilva's homepage
78 And I follow "Login" 78 And I follow "Login"
79 And I fill in the following: 79 And I fill in the following:
80 | Username | joaosilva | 80 | Username | joaosilva |
@@ -92,7 +92,7 @@ Feature: login @@ -92,7 +92,7 @@ Feature: login
92 | Username | joaosilva | 92 | Username | joaosilva |
93 | Password | 123456 | 93 | Password | 123456 |
94 When I press "Log in" 94 When I press "Log in"
95 - Then I should be on Joao Silva's profile 95 + Then I should be on joaosilva's profile
96 96
97 Scenario: go to profile homepage after login if this is the environment default 97 Scenario: go to profile homepage after login if this is the environment default
98 Given the following articles 98 Given the following articles
@@ -107,7 +107,7 @@ Feature: login @@ -107,7 +107,7 @@ Feature: login
107 | Username | joaosilva | 107 | Username | joaosilva |
108 | Password | 123456 | 108 | Password | 123456 |
109 When I press "Log in" 109 When I press "Log in"
110 - Then I should be on Joao Silva's homepage 110 + Then I should be on joaosilva's homepage
111 111
112 Scenario: go to profile control panel after login if this is the environment default 112 Scenario: go to profile control panel after login if this is the environment default
113 Given feature "allow_change_of_redirection_after_login" is enabled on environment 113 Given feature "allow_change_of_redirection_after_login" is enabled on environment
@@ -119,7 +119,7 @@ Feature: login @@ -119,7 +119,7 @@ Feature: login
119 | Username | joaosilva | 119 | Username | joaosilva |
120 | Password | 123456 | 120 | Password | 123456 |
121 When I press "Log in" 121 When I press "Log in"
122 - Then I should be on Joao Silva's control panel 122 + Then I should be on joaosilva's control panel
123 123
124 Scenario: stay on the same page after login if this is the profile default 124 Scenario: stay on the same page after login if this is the profile default
125 Given feature "allow_change_of_redirection_after_login" is enabled on environment 125 Given feature "allow_change_of_redirection_after_login" is enabled on environment
@@ -132,20 +132,20 @@ Feature: login @@ -132,20 +132,20 @@ Feature: login
132 And the following articles 132 And the following articles
133 | owner | name | homepage | 133 | owner | name | homepage |
134 | mariasilva | my home page | true | 134 | mariasilva | my home page | true |
135 - And I go to Maria Silva's homepage 135 + And I go to mariasilva's homepage
136 And I follow "Login" 136 And I follow "Login"
137 And I fill in the following: 137 And I fill in the following:
138 | Username | joaosilva | 138 | Username | joaosilva |
139 | Password | 123456 | 139 | Password | 123456 |
140 When I press "Log in" 140 When I press "Log in"
141 - Then I should be on Maria Silva's homepage 141 + Then I should be on mariasilva's homepage
142 142
143 Scenario: go to site homepage if this is the profile default 143 Scenario: go to site homepage if this is the profile default
144 Given feature "allow_change_of_redirection_after_login" is enabled on environment 144 Given feature "allow_change_of_redirection_after_login" is enabled on environment
145 And I am not logged in 145 And I am not logged in
146 And the environment is configured to stay on the same page after login 146 And the environment is configured to stay on the same page after login
147 And the profile joaosilva is configured to redirect to site homepage after login 147 And the profile joaosilva is configured to redirect to site homepage after login
148 - And I go to Joao Silva's homepage 148 + And I go to joaosilva's homepage
149 And I follow "Login" 149 And I follow "Login"
150 And I fill in the following: 150 And I fill in the following:
151 | Username | joaosilva | 151 | Username | joaosilva |
@@ -164,7 +164,7 @@ Feature: login @@ -164,7 +164,7 @@ Feature: login
164 | Username | joaosilva | 164 | Username | joaosilva |
165 | Password | 123456 | 165 | Password | 123456 |
166 When I press "Log in" 166 When I press "Log in"
167 - Then I should be on Joao Silva's profile 167 + Then I should be on joaosilva's profile
168 168
169 Scenario: go to profile homepage after login if this is the profile default 169 Scenario: go to profile homepage after login if this is the profile default
170 Given the following articles 170 Given the following articles
@@ -180,7 +180,7 @@ Feature: login @@ -180,7 +180,7 @@ Feature: login
180 | Username | joaosilva | 180 | Username | joaosilva |
181 | Password | 123456 | 181 | Password | 123456 |
182 When I press "Log in" 182 When I press "Log in"
183 - Then I should be on Joao Silva's homepage 183 + Then I should be on joaosilva's homepage
184 184
185 Scenario: go to profile control panel after login if this is the profile default 185 Scenario: go to profile control panel after login if this is the profile default
186 Given feature "allow_change_of_redirection_after_login" is enabled on environment 186 Given feature "allow_change_of_redirection_after_login" is enabled on environment
@@ -193,4 +193,4 @@ Feature: login @@ -193,4 +193,4 @@ Feature: login
193 | Username | joaosilva | 193 | Username | joaosilva |
194 | Password | 123456 | 194 | Password | 123456 |
195 When I press "Log in" 195 When I press "Log in"
196 - Then I should be on Joao Silva's control panel 196 + Then I should be on joaosilva's control panel