Name: Categorize recipes in the folder
Actor(s): User
Description: Create a categories in a folder that stores recipes
Preconditions: Accessing account and enters the folder and selects to create a new category
Basic Flow: The user selects to create a new category and names it accordingly
Alternate Flows: The user names the category a name that already exists under their folder, thus an error message asking for a different name prints.
Postconditions: The user now has a new category in their folder and can store recipes to it.
User Story 3: As a user, I want to save recipes by categories in my folders so that I can easily find recipes based on type or occasion.
Feature 3: Save by Categories under Folder
• Scenario 1: User saves a recipe to a category folder
o Given the user has created folders in their profile
o When the user clicks the “Save Recipe” button and selects a category folder
o Then the system saves the recipe to the selected category folder
• Scenario 2: User creates a new category under a folder
o Given the user is viewing their saved folder
o When the user clicks the “Add Category” button and enters a category name
o Then the system creates a new category under the selected folder
• Scenario 3: User fails to save recipe due to invalid folder selection
o Given the user is viewing a recipe
o When the user clicks the “Save Recipe” button but does not select a valid folder
o Then the system displays a message stating, “Please select a valid folder”
Name: Categorize recipes in the folder Actor(s): User Description: Create a categories in a folder that stores recipes Preconditions: Accessing account and enters the folder and selects to create a new category Basic Flow: The user selects to create a new category and names it accordingly Alternate Flows: The user names the category a name that already exists under their folder, thus an error message asking for a different name prints. Postconditions: The user now has a new category in their folder and can store recipes to it.
User Story 3: As a user, I want to save recipes by categories in my folders so that I can easily find recipes based on type or occasion. Feature 3: Save by Categories under Folder • Scenario 1: User saves a recipe to a category folder o Given the user has created folders in their profile o When the user clicks the “Save Recipe” button and selects a category folder o Then the system saves the recipe to the selected category folder • Scenario 2: User creates a new category under a folder o Given the user is viewing their saved folder o When the user clicks the “Add Category” button and enters a category name o Then the system creates a new category under the selected folder • Scenario 3: User fails to save recipe due to invalid folder selection o Given the user is viewing a recipe o When the user clicks the “Save Recipe” button but does not select a valid folder o Then the system displays a message stating, “Please select a valid folder”