Logo: Relish

  1. Sign in

Project: Lombard

Exit Questionnaire before completing

As a form filler
So I can work effectively
I need to be able to save forms in progress

Background In Progress Survey
Given
the following patients:
subject_id dob
Joe Jones 2/4/1967
And
the survey
survey "progress" do
 section "first" do
  q_1 "first question", :pick=> :one
    a_1 "one"
    a_2 "two"
    a_3 "three"

 q_2 "second question", :pick => :any
   a_1 "door #1"
  a_2 "door #2"
end
end
Scenarios
  • @javascript
Start and save in progress
Given
I am signed in as an clinician
When
I am on the newpatient page
And
I fill in "Subject ID" with "Joe"
And
I press "Find Patient"
And
I follow "Joe Jones"
And
I press "progress"
Then
I should be on the "progress" survey page
When
I choose "two"
And
I follow "Return to Patient Profile"
Then
I should see "Joe Jones"
And
I should see "Procedure Records"
And
I should see "progress [Incomplete]"
When
I follow "View Results"
Then
I should see "two"

Last published over 5 years ago by wminsinger.