To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorRegister for an account
In order to use Caren
The new user
wants to register for an account
- Scenarios
-
- Register a new account from the home page
- Trying to register for a new account using invalid details
- Register a new account using a letter sent to yourself (validation errors)
- Register a new account using a letter sent to yourself
- Register a new account using a letter sent to someone else
- Trying to register for a new account using invalid letter
- Trying to register for a new account using expired letter
- Register a new account from the home page
-
- Given
- I am on the home page
- When
- I follow "Sign up now"
- Then
- I should be on the signup page
- When
-
I fill in the following:
First name Andre Last name Foeken E-mail [email protected] Password welkom123 - And
- I choose "Male"
- And
- I check "I receive care myself"
- And
- I press "Sign up"
- Then
- I should be on the thank you page
- And
- I should see "sent you an email"
- Then
- "[email protected]" should receive an email
- When
- I open the email
- Then
- I should see /activate/ in the email subject
- When
- I follow "activate" in the email
- Then
- I should see "YOUR INFORMATION"
- And
- I should see the "Me" tab
- Trying to register for a new account using invalid details
-
- Given
- I am on the home page
- When
- I follow "Sign up now"
- Then
- I should be on the signup page
- And
- I press "Sign up"
- Then
- I should see error messages
- Register a new account using a letter sent to yourself (validation errors)
-
- Given
- a care provider named "Zuwe"
- And
- "Andre" has received a letter with code "ABCDEFGH" from "Zuwe"
- And
- I am on the home page
- When
- I follow "Use code"
- And
- I fill in "code" with "ABCDEFGH"
- And
- I press "Ok"
- Then
- I should be on the signup page
- And
- I should see "Are you Andre?"
- When
- I choose "Yes"
- When
-
I fill in the following:
First name Andre Last name Foeken E-mail [email protected] Password - And
- I press "Sign up"
- Then
- I should see "Are you Andre?"
- And
- I should not be on the thank you page
- Register a new account using a letter sent to yourself
-
- Given
- a care provider named "Zuwe"
- And
- "Andre" has received a letter with code "ABCDEFGH" from "Zuwe"
- And
- I am on the home page
- When
- I follow "Use code"
- And
- I fill in "code" with "ABCDEFGH"
- And
- I press "Ok"
- Then
- I should be on the signup page
- And
- I should see "Are you Andre?"
- When
- I choose "Yes"
- When
-
I fill in the following:
First name Andre Last name Foeken E-mail [email protected] Password welkom123 - And
- I check "I receive care myself"
- And
- I choose "Male"
- And
- I press "Sign up"
- Then
- I should be on the thank you page
- And
- I should see "sent you an email"
- Then
- "[email protected]" should receive an email
- When
- I open the email
- Then
- I should see /activate/ in the email subject
- When
- I follow "activate" in the email
- Then
- I should see "YOUR INFORMATION"
- And
- I should be linked to "Zuwe"
- Register a new account using a letter sent to someone else
-
- Given
- a care provider named "Zuwe"
- And
- "Ria" has received a letter with code "ABCDEFGH" from "Zuwe"
- And
- I am on the home page
- When
- I follow "Use code"
- And
- I fill in "code" with "ABCDEFGH"
- And
- I press "Ok"
- Then
- I should be on the signup page
- And
- I should see "Are you Ria?"
- When
- I choose "No, but Ria gave this invitation to me."
- When
-
I fill in the following:
First name Andre Last name Foeken E-mail [email protected] Password welkom123 - And
- I choose "Male"
- And
- I press "Sign up"
- Then
- I should be on the thank you page
- And
- I should see "sent you an email"
- Then
- "[email protected]" should receive an email
- When
- I open the email
- Then
- I should see /activate/ in the email subject
- When
- I follow "activate" in the email
- And
- I should see the "Ria" tab
- And
- "Ria" should be linked to "Zuwe"
- Then
- I should be on Ria's page
- Trying to register for a new account using invalid letter
-
- Given
- I am on the home page
- When
- I follow "Use code"
- And
- I fill in "code" with "INVALID"
- And
- I press "Ok"
- And
- I should see "Did you make a typo?"
- Trying to register for a new account using expired letter
-
- Given
- a care provider named "Zuwe"
- And
- "Ria" has received a letter with code "ABCDEFGH" from "Zuwe" 6 weeks ago
- And
- I am on the home page
- When
- I follow "Use code"
- And
- I fill in "code" with "ABCDEFGH"
- And
- I press "Ok"
- Then
- I should see "The code you entered has expired"
Last published over 7 years ago by Dreetje.