Commit e6f4279aa1267bc03e126c2fc0649dee22a47f3f
Committed by
Tallys Martins
1 parent
ccfe5f79
Exists in
master
and in
29 other branches
Fixing cucumber tests for moderated registration.
(AI3036) Signed-off-by: André Bernardes <andrebsguedes@gmail.com> Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Hebert Douglas <hebertdougl@gmail.com> Signed-off-by: Renan Costa <renan2727@hotmail.com> Signed-off-by: Rodrigo Medeiros <rodrigo.mss01@gmail.com> Signed-off-by: Iolane Andrade <andrade.icaa@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
Showing
1 changed file
with
4 additions
and
10 deletions
Show diff stats
features/signup.feature
... | ... | @@ -298,13 +298,6 @@ Feature: signup |
298 | 298 | And wait for the captcha signup time |
299 | 299 | And I press "Create my account" |
300 | 300 | Then "José da Silva" should be a member of "Free Software" |
301 | - | |
302 | - @selenium | |
303 | - Scenario: user registration moderate option avaliable on features panel | |
304 | - Given I am logged in as admin | |
305 | - When I follow "Administration" | |
306 | - And I follow "Features" | |
307 | - Then I should see "Admin must approve registration of new users" | |
308 | 301 | |
309 | 302 | @selenium |
310 | 303 | Scenario: user registration is moderated by admin |
... | ... | @@ -323,6 +316,7 @@ Feature: signup |
323 | 316 | And I choose "Accept" |
324 | 317 | And I press "Apply!" |
325 | 318 | And I follow "Logout" |
319 | + And Teste da Silva's account is activated | |
326 | 320 | And I follow "Login" |
327 | 321 | And I fill in "Username / Email" with "teste" |
328 | 322 | And I fill in "Password" with "123456" |
... | ... | @@ -336,8 +330,8 @@ Feature: signup |
336 | 330 | And feature "skip_new_user_email_confirmation" is enabled on environment |
337 | 331 | And I go to /account/signup |
338 | 332 | And I fill in "Username" with "teste" |
339 | - And I fill in "Password" with "1234" | |
340 | - And I fill in "Password confirmation" with "1234" | |
333 | + And I fill in "Password" with "123456" | |
334 | + And I fill in "Password confirmation" with "123456" | |
341 | 335 | And I fill in "e-Mail" with "teste@teste.com" |
342 | 336 | And I fill in "Full name" with "Teste da Silva" |
343 | 337 | And I press "Create my account" |
... | ... | @@ -349,6 +343,6 @@ Feature: signup |
349 | 343 | And I follow "Logout" |
350 | 344 | And I follow "Login" |
351 | 345 | And I fill in "Username / Email" with "teste" |
352 | - And I fill in "Password" with "1234" | |
346 | + And I fill in "Password" with "123456" | |
353 | 347 | And I press "Log in" |
354 | 348 | Then I should not see "teste" |
355 | 349 | \ No newline at end of file | ... | ... |