Commit e6f4279aa1267bc03e126c2fc0649dee22a47f3f

Authored by Gabriela Navarro
Committed by Tallys Martins
1 parent ccfe5f79

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,13 +298,6 @@ Feature: signup
298 And wait for the captcha signup time 298 And wait for the captcha signup time
299 And I press "Create my account" 299 And I press "Create my account"
300 Then "José da Silva" should be a member of "Free Software" 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 @selenium 302 @selenium
310 Scenario: user registration is moderated by admin 303 Scenario: user registration is moderated by admin
@@ -323,6 +316,7 @@ Feature: signup @@ -323,6 +316,7 @@ Feature: signup
323 And I choose "Accept" 316 And I choose "Accept"
324 And I press "Apply!" 317 And I press "Apply!"
325 And I follow "Logout" 318 And I follow "Logout"
  319 + And Teste da Silva's account is activated
326 And I follow "Login" 320 And I follow "Login"
327 And I fill in "Username / Email" with "teste" 321 And I fill in "Username / Email" with "teste"
328 And I fill in "Password" with "123456" 322 And I fill in "Password" with "123456"
@@ -336,8 +330,8 @@ Feature: signup @@ -336,8 +330,8 @@ Feature: signup
336 And feature "skip_new_user_email_confirmation" is enabled on environment 330 And feature "skip_new_user_email_confirmation" is enabled on environment
337 And I go to /account/signup 331 And I go to /account/signup
338 And I fill in "Username" with "teste" 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 And I fill in "e-Mail" with "teste@teste.com" 335 And I fill in "e-Mail" with "teste@teste.com"
342 And I fill in "Full name" with "Teste da Silva" 336 And I fill in "Full name" with "Teste da Silva"
343 And I press "Create my account" 337 And I press "Create my account"
@@ -349,6 +343,6 @@ Feature: signup @@ -349,6 +343,6 @@ Feature: signup
349 And I follow "Logout" 343 And I follow "Logout"
350 And I follow "Login" 344 And I follow "Login"
351 And I fill in "Username / Email" with "teste" 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 And I press "Log in" 347 And I press "Log in"
354 Then I should not see "teste" 348 Then I should not see "teste"
355 \ No newline at end of file 349 \ No newline at end of file