There is at least one diarie saved
- User clicks on the "View Diaries" button
- User is presented a list of diaries
User is presented with all of the saved diaries
User is on the main screen
- User clicks on the "New diary" button
- User fills in the date, title and content
- User clicks on the "Create" button
- User clicks on the "Cancel" button 3.1. User is presented with the main screen
User is presented the options screen
User is on the options screen and has created at least one new diary
- User clicks on the "Save diary" button.
- The diary is saved and the user is presented with the confirmation alert
The diary is saved and the user is presented with the confirmation alert
There is at least one diarie saved
- User clicks on the "View Diaries" button
- User clicks on one of the "Delete" buttons next to the diary
- Confirmation pop up is shown and the user clicks the "Yes" button
- User clicks the "No" button 3.1 User is presented with the list of diaries
The diary is deleted and the user is presented with the confirmation alert
User is viewing diaries
- User clicks on the "Exit" button
- User gets to choose if they want to have their diary saved before exitting
- User clicks on the "Yes" button
- User clicks on the "No" button 3.1. User is presented with the main screen
The diary manager is closed
There is at least one more diary after the random one
- User clicks on the "Next" button below "Random diary"
User is presented with a diary that follows the random one
There is at least one diary before the random one
- User clicks on the "Previous" button below "Random diary"
User is presented with a diary that precedes the random one
There is at least one diarie saved
- User is on the main screen
User is presented with a random diary