Logo: Relish

  1. Sign in

Project: Caren

Tell a friend about Caren

In order let people share Caren with friends
The user
wants to add others to Caren without inviting them to their page

Scenarios
Telling a friend
Given
I am on the tell-a-friend page
When
I fill in "person_email" with "[email protected]"
And
I press "next_button"
Then
I should see "Thank you for sharing Caren"
Then
"[email protected]" should receive an email
When
I open the email
And
I follow "activate" in the email
Then
I should see "Complete your registration"
When
I fill in the following:
First name Andre
Last name Foeken
Password welcome123
And
I choose "Male"
And
I check "I receive care myself"
And
I press "Save"
Then
I should see the "Me" tab
When
I follow "Logout"
And
I fill in "email" with "[email protected]"
And
I fill in "password" with "welcome123"
And
I press "Login"
Then
I should see the "Me" tab
Telling a friend who already has an account
Given
a person "Andre" with email "[email protected]"
And
"Andre" has an account
And
I am on the tell-a-friend page
When
I fill in "person_email" with "[email protected]"
And
I press "next_button"
Then
I should see "This email address is already a registered Caren user"
And
"[email protected]" should receive no emails

Last published over 5 years ago by Dreetje.