As a user, when I am viewing a contact details page and see a list of notes for that contact, I should be able to edit the note in the event of an error.
Given a user is viewing a contact details page with a list of notes
When they select the Edit option for a note
Then they are directed to a form and given the ability to change the note's content
Given the user is finished updating the note content
When they click the Save button
Then the updated note should be saved to the database
And the user should be redirected to the contact details view
Given the user has decided not to edit the note
When they click the Cancel button
Then they should be redirected back to the contact details page
As a user, when I am viewing a contact details page and see a list of notes for that contact, I should be able to edit the note in the event of an error.
Given a user is viewing a contact details page with a list of notes When they select the
Edit
option for a note Then they are directed to a form and given the ability to change the note's contentGiven the user is finished updating the note content When they click the
Save
button Then the updated note should be saved to the database And the user should be redirected to the contact details viewGiven the user has decided not to edit the note When they click the
Cancel
button Then they should be redirected back to the contact details page