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 collaboratorShow recent activity on Dashboard
In order to keep track of what happened
The user
wants to see recent activity on their care pages
- Background
-
- Given
- an account "Ria" with email "[email protected]"
- And
- "Ria" receives care
- And
- an account "Andre" with email "[email protected]"
- And
- "Andre" receives care
- And
- "Ria" is logged in
- Scenarios
-
- Adding a patient (without the invitation clutter!)
- Inviting someone and toggling sharing status
- Inviting someone to the care page of a patient
- Adding a patient (without the invitation clutter!)
-
- When
- I follow "+" within "#tabs"
- And
-
I fill in the following:
First name Oscar Last name Foeken Relation Husband - And
- I press "Add"
- Given
- I am on the dashboard page
- Then
- I should see "Ria Test created the care page"
- And
- I should not see "invited"
- Inviting someone and toggling sharing status
-
- When
- I follow "+" within "#tabs"
- And
-
I fill in the following:
First name Oscar Last name Foeken Relation Husband - And
- I press "Add"
- Given
- I am on Oscar's page
- When
- I follow "invite_link"
- And
-
I fill in the following within "#invite_person":
First name Andre Last name Foeken E-mail [email protected] - And
- I press "Send" within "#invite_person"
- Given
- "Andre" is logged in
- When
- I follow "Connections"
- And
- I follow "Yes"
- Given
- "Ria" is logged in
- And
- I am on Oscar's connections page
- When
- I choose "Nothing"
- And
- I press "Save"
- Given
- I am on the dashboard page
- Then
- I should see "Andre Test no longer has access"
- Inviting someone to the care page of a patient
-
- When
- I follow "+" within "#tabs"
- And
-
I fill in the following:
First name Oscar Last name Foeken Relation Husband - And
- I press "Add"
- Given
- I am on Oscar's page
- When
- I follow "invite_link"
- And
-
I fill in the following within "#invite_person":
First name Andre Last name Foeken E-mail [email protected] - And
- I press "Send" within "#invite_person"
- Given
- I am on the dashboard page
- Then
- I should see "Ria Test invited Andre Test"
- Given
- "Andre" is logged in
- When
- I follow "Connections"
- And
- I follow "Yes"
- And
- I am on the dashboard page
- Then
- I should see "Andre Test accepted their invitation"
- And
- I should not see "Ria Test invited Oscar Foeken"
- And
- I should not see "Oscar Foeken accepted their invitation"
Last published over 7 years ago by Dreetje.