Commit 48f645c58477333030834721523076d12968d4e7
1 parent
da473ed3
Exists in
master
and in
29 other branches
Fixed test: features/register_enterprise.feature
Showing
1 changed file
with
9 additions
and
9 deletions
Show diff stats
features/register_enterprise.feature
... | ... | @@ -9,7 +9,7 @@ Feature: register enterprise |
9 | 9 | | joaosilva | Joao Silva | joaosilva@example.com | |
10 | 10 | |
11 | 11 | And I am logged in as "joaosilva" |
12 | - And I am on Joao Silva's control panel | |
12 | + And I am on joaosilva's control panel | |
13 | 13 | And feature "enterprise_registration" is enabled on environment |
14 | 14 | |
15 | 15 | Scenario: enterprise registration is disabled by admin |
... | ... | @@ -92,7 +92,7 @@ Feature: register enterprise |
92 | 92 | And I press "Next" |
93 | 93 | Then I should see "Enterprise registration completed" |
94 | 94 | And I am logged in as admin |
95 | - And I go to the Control panel | |
95 | + And I go to admin_user's control panel | |
96 | 96 | When I follow "Tasks" within ".control-panel" |
97 | 97 | Then I should see "Joao Silva wants to create enterprise My Enterprise." |
98 | 98 | And the first mail is to admin_user@example.com |
... | ... | @@ -100,7 +100,7 @@ Feature: register enterprise |
100 | 100 | And I press "Apply!" |
101 | 101 | Then the last mail is to joaosilva@example.com |
102 | 102 | And I am logged in as "joaosilva" |
103 | - And I am on Joao Silva's control panel | |
103 | + And I am on joaosilva's control panel | |
104 | 104 | When I follow "Manage my groups" |
105 | 105 | Then I should see "My Enterprise" |
106 | 106 | |
... | ... | @@ -119,7 +119,7 @@ Feature: register enterprise |
119 | 119 | And I press "Next" |
120 | 120 | Then I should see "Enterprise registration completed" |
121 | 121 | And I am logged in as admin |
122 | - And I go to the Control panel | |
122 | + And I go to admin_user's control panel | |
123 | 123 | When I follow "Tasks" within ".control-panel" |
124 | 124 | Then I should see "Joao Silva wants to create enterprise My Enterprise." |
125 | 125 | And the first mail is to admin_user@example.com |
... | ... | @@ -128,7 +128,7 @@ Feature: register enterprise |
128 | 128 | And I press "Apply!" |
129 | 129 | Then the last mail is to joaosilva@example.com |
130 | 130 | And I am logged in as "joaosilva" |
131 | - And I am on Joao Silva's control panel | |
131 | + And I am on joaosilva's control panel | |
132 | 132 | When I follow "Manage my groups" |
133 | 133 | Then I should not see "My Enterprise" |
134 | 134 | |
... | ... | @@ -156,12 +156,12 @@ Feature: register enterprise |
156 | 156 | When I choose "Validator" |
157 | 157 | And I press "Confirm" |
158 | 158 | Then I should see "Enterprise registration completed" |
159 | - And I am on Validator's control panel | |
159 | + And I am on validator's control panel | |
160 | 160 | When I follow "Tasks" |
161 | 161 | Then I should see "Joao Silva wants to create enterprise My Enterprise." |
162 | 162 | And I choose "Accept" |
163 | 163 | And I press "Apply!" |
164 | - And I am on Joao Silva's control panel | |
164 | + And I am on joaosilva's control panel | |
165 | 165 | When I follow "Manage my groups" |
166 | 166 | Then I should see "My Enterprise" |
167 | 167 | |
... | ... | @@ -189,13 +189,13 @@ Feature: register enterprise |
189 | 189 | When I choose "Validator" |
190 | 190 | And I press "Confirm" |
191 | 191 | Then I should see "Enterprise registration completed" |
192 | - And I am on Validator's control panel | |
192 | + And I am on validator's control panel | |
193 | 193 | When I follow "Tasks" |
194 | 194 | Then I should see "Joao Silva wants to create enterprise My Enterprise." |
195 | 195 | And I choose "Reject" |
196 | 196 | And I fill in "Rejection explanation" with "This enterprise has some irregularities." |
197 | 197 | And I press "Apply" |
198 | - And I am on Joao Silva's control panel | |
198 | + And I am on joaosilva's control panel | |
199 | 199 | When I follow "Manage my groups" |
200 | 200 | Then I should not see "My Enterprise" |
201 | 201 | ... | ... |