Logo: Relish

  1. Sign in

Project: Caren

Communicating with care providers

In order to coordinate tasks and find information
The user
wants to be able to communicate with linked care providers

Background
Given
a care provider named "Zuwe"
And
"Zuwe" has communication enabled
And
an account "Andre" with email "[email protected]"
And
"Andre" receives care
And
"Andre" is linked to "Zuwe"
And
"Andre" is logged in
Scenarios
Not able to send messages to care providers with communication disabled
Given
"Zuwe" has communication disabled
And
I am on Andre's page
Then
I should not see "with the rest"
Sending a message to a linked care provider
Given
I am on Andre's page
Then
I should see "with the rest"
When
I fill in "personal_message_body" with "Hello zuwe!"
And
I select "with Zuwe" from "share_with"
And
I press "Post"
Then
I should see "Shared with Zuwe"
And
I should see "Hello zuwe!"
Given
the sync has run
And
I am on Andre's page
Then
I should not see "This message has not been sent yet"
Receiving a message from a linked care provider
Given
"Jannie" from "Zuwe" posted "Hellow!" to "Andre"
And
the sync has run
And
I am on Andre's page
Then
I should see "Jannie"
And
I should see "Shared with Zuwe"
And
I should see "Hellow!"
Replying to a message from a linked care provider
Given
"Jannie" from "Zuwe" posted "Hellow!" to "Andre"
And
the sync has run
And
I am on Andre's page
When
I follow "Reply"
And
I fill in "external_message[body]" with "Testing 5,6,7" within "#messages"
And
I press "Post" within "#messages"
Then
I should see "Testing 5,6,7" within "#messages"

Last published over 5 years ago by Dreetje.