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 collaboratorAdding other people to your Caren account
In order create a care network
The user
wants to add or invite others
- Background
-
- Given
- an account "Andre" with email "[email protected]"
- And
- "Andre" is logged in
- Scenarios
-
- Adding someone that you will take care of
- Inviting a lot of people to one person
- Inviting someone to a care network (who already has an account)
- Inviting someone to a care network (who does not have an account yet)
- Inviting someone to a care network (who does not have an account yet, validations)
- Adding someone that you will take care of
-
- Given
- I am on the dashboard page
- When
- I follow "+" within "#tabs"
- And
-
I fill in the following:
First name Ria Last name Foeken Relation Mommy - And
- I press "Add"
- Then
- I should see the "Mommy" tab
- And
- I should have a relationship with "Ria"
- Inviting a lot of people to one person
-
- Given
- "Andre" has a photo
- And
- an account "Ria" with email "[email protected]"
- And
- an account "Dirk" with email "[email protected]"
- And
- an account "Johan" with email "[email protected]"
- And
- an account "Niek" with email "[email protected]"
- And
- an account "Joke" with email "[email protected]"
- And
- an account "Jannie" with email "[email protected]"
- And
- an account "Jonno" with email "[email protected]"
- And
- an account "Rietje" with email "[email protected]"
- Given
- "Andre" has a sharing relationship with "Ria"
- And
- "Andre" has a sharing relationship with "Dirk"
- And
- "Andre" has a sharing relationship with "Johan"
- And
- "Andre" has a sharing relationship with "Niek"
- And
- "Andre" has a sharing relationship with "Joke"
- And
- "Andre" has a sharing relationship with "Jannie"
- And
- "Andre" has a sharing relationship with "Jonno"
- Given
- I am on Andre's page
- Then
- I should see "and one other" within "#connections"
- Given
- "Andre" has a sharing relationship with "Rietje"
- And
- I am on Andre's page
- Then
- I should see "and 2 others" within "#connections"
- Inviting someone to a care network (who already has an account)
-
- Given
- a person "Ria" with email "[email protected]"
- And
- "Ria" has an account
- Given
- "Andre" receives care
- And
- I am on Andre's page
- And
- I follow "invite_link"
- When
-
I fill in the following within "#invite_person":
First name Ria Last name Foeken E-mail [email protected] - And
- I press "Send" within "#invite_person"
- And
- I follow "Logout"
- Given
- "Ria" is logged in
- Then
- "[email protected]" should receive an email
- When
- I open the email
- Then
- I should see /invited/ in the email subject
- When
- I follow "relationships" in the email
- Then
- I should see "Would you like to join Andre's network?"
- When
- I follow "Yes"
- Then
- I should see "Connection with Andre Test has been accepted!"
- And
- I should see the "Andre Test" tab
- And
- I should have a relationship with "Andre"
- Inviting someone to a care network (who does not have an account yet)
-
- Given
- "Andre" receives care
- And
- I am on Andre's page
- And
- I follow "invite_link"
- When
-
I fill in the following within "#invite_person":
First name Ria Last name Foeken E-mail [email protected] - And
- I press "Send" within "#invite_person"
- And
- I follow "Logout"
- Then
- "[email protected]" should receive an email
- When
- I open the email
- Then
- I should see /invited/ in the email subject
- When
- I click the first link in the email
- Given
- no emails have been sent
- Then
- I should be on the signup page
- When
- I fill in "Password" with "welcome123"
- And
- I press "Sign up"
- 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 "Andre Test" tab
- And
- I should have a relationship with "Andre"
- And
- I should be on Andre's page
- Inviting someone to a care network (who does not have an account yet, validations)
-
- Given
- "Andre" receives care
- And
- I am on Andre's page
- And
- I follow "invite_link"
- When
-
I fill in the following within "#invite_person":
E-mail [email protected] - And
- I press "Send" within "#invite_person"
- And
- I follow "Logout"
- Then
- "[email protected]" should receive an email
- When
- I open the email
- When
- I click the first link in the email
- And
- I fill in "E-mail" with "wrong_email"
- And
- I press "Sign up"
- Then
- I should see "Please fill out the form below"
- And
- I should not be on the thank you page
Last published over 7 years ago by Dreetje.