|
|
@ -34,7 +34,7 @@ And I open the "Sign in" menu |
|
|
|
And I follow "t:label_register" within "#top-menu-items" [i18n] |
|
|
|
And I follow "t:label_register" within "#top-menu-items" [i18n] |
|
|
|
Then I should be on the registration page |
|
|
|
Then I should be on the registration page |
|
|
|
|
|
|
|
|
|
|
|
@javascript @selenium |
|
|
|
@javascript |
|
|
|
Scenario: A user can register successfully after filling in the registration form |
|
|
|
Scenario: A user can register successfully after filling in the registration form |
|
|
|
Given I am on the registration page |
|
|
|
Given I am on the registration page |
|
|
|
And I fill in "user_login" with "heidi" |
|
|
|
And I fill in "user_login" with "heidi" |
|
|
@ -46,7 +46,7 @@ And I fill in "user_mail" with "heidi@test.com" |
|
|
|
And I click on "Submit" |
|
|
|
And I click on "Submit" |
|
|
|
Then I should see "Your account was created and is now pending administrator approval." |
|
|
|
Then I should see "Your account was created and is now pending administrator approval." |
|
|
|
|
|
|
|
|
|
|
|
@javascript @selenium |
|
|
|
@javascript |
|
|
|
Scenario: A user is unable to register if one of the constraints left blank |
|
|
|
Scenario: A user is unable to register if one of the constraints left blank |
|
|
|
Given I am on the registration page |
|
|
|
Given I am on the registration page |
|
|
|
And I fill in "user_login" with "heidi" |
|
|
|
And I fill in "user_login" with "heidi" |
|
|
@ -57,7 +57,7 @@ And I fill in "user_lastname" with "Swiss" |
|
|
|
And I click on "Submit" |
|
|
|
And I click on "Submit" |
|
|
|
Then the element "#user_mail" should be invalid |
|
|
|
Then the element "#user_mail" should be invalid |
|
|
|
|
|
|
|
|
|
|
|
@javascript @selenium |
|
|
|
@javascript |
|
|
|
Scenario: A user is unable to register if the password does not match the confirmation |
|
|
|
Scenario: A user is unable to register if the password does not match the confirmation |
|
|
|
Given I am on the registration page |
|
|
|
Given I am on the registration page |
|
|
|
And I fill in "user_login" with "heidi" |
|
|
|
And I fill in "user_login" with "heidi" |
|
|
|