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 collaboratorFilling out a care giver strain index
In order to prevent getting overly strained
The user
wants to keep an eye on their current strain using a test
- Background
-
- Given
- an account "Andre" with email "[email protected]"
- And
- an account "Ria" with email "[email protected]"
- And
- "Andre" has a sharing relationship with "Ria"
- And
- "Andre" receives care
- And
- "Ria" is logged in
- Scenarios
-
- Taking the test
-
- Given
- I am on Ria's CSI page
- When
- I choose "question_1_false"
- And
- I choose "question_2_false"
- And
- I choose "question_3_false"
- And
- I choose "question_4_false"
- And
- I choose "question_5_false"
- And
- I choose "question_6_false"
- And
- I choose "question_7_false"
- And
- I choose "question_8_false"
- And
- I choose "question_9_false"
- And
- I choose "question_10_false"
- And
- I choose "question_11_false"
- And
- I choose "question_12_true"
- And
- I choose "question_13_true"
- And
- I choose "public_true"
- And
- I choose "reminder_true"
- And
- I press "Show results ›"
- Then
- I should see "Results"
- And
- I should see "You scored 2 out of 13."
- And
- I should see "You will be reminded on:"
- Receiving a reminder
-
- Given
- I am on Ria's CSI page
- When
- I choose "question_1_false"
- And
- I choose "question_2_false"
- And
- I choose "question_3_false"
- And
- I choose "question_4_false"
- And
- I choose "question_5_false"
- And
- I choose "question_6_false"
- And
- I choose "question_7_false"
- And
- I choose "question_8_false"
- And
- I choose "question_9_false"
- And
- I choose "question_10_false"
- And
- I choose "question_11_false"
- And
- I choose "question_12_true"
- And
- I choose "question_13_true"
- And
- I choose "public_true"
- And
- I choose "reminder_true"
- And
- I press "Show results ›"
- Given
- the measurement reminders have been sent one month later
- Then
- "[email protected]" should receive an email
- When
- I open the email
- Then
- I should see /Reminder/ in the email subject
- When
- I follow "care_giver_strain_indices" in the email
- Then
- I should see "Test: How are you handling your care responsibilities?"
- Taking incomplete test
-
- Given
- I am on Ria's CSI page
- When
- I choose "question_1_true"
- And
- I press "Show results ›"
- Then
- I should see "Each statement must be answered with either yes or no before we can show you the results."
Last published over 5 years ago by Dreetje.