As a Wikimedia logged in user, I would like quickSurvey to provide me the ability to go back and change my previous question selected.
AC:
- The UI will not show a "back" button in the first question
- The UI will show a "back" button from the second question onward
- When the user clicks the back button the previous question will show
- When the previous question is shown, this will be "prefilled" with the user input
- The story will be unit tested
QA:
- Load a survey via the QA steps in https://phabricator.wikimedia.org/T362640
- Select "ext-quicksurveys-test-internal-survey-negative" for question 1 and click submit.
- Select "ext-quicksurveys-test-internal-survey-positive" for question 2 and then click back (imagine I've forgotten what I answered to the previous question)
Expected: question 1 shows negative as the selected answer (as that's what I selected before).
Actual: question 1 shows positive as the selected answer.