Update Deliverable_3 authored by Aron Calderon (ewy439)'s avatar Aron Calderon (ewy439)
...@@ -503,18 +503,18 @@ As GrandGourmetGary, I want to see how my recipes are performing compared to oth ...@@ -503,18 +503,18 @@ As GrandGourmetGary, I want to see how my recipes are performing compared to oth
As Campus Chris, I want to enter specific ingredients I already have, then the system should automatically (using AI) generate a new recipe that adapts to those ingredients, customizing quantities, cooking time, and any missing items with substitutions. As Campus Chris, I want to enter specific ingredients I already have, then the system should automatically (using AI) generate a new recipe that adapts to those ingredients, customizing quantities, cooking time, and any missing items with substitutions.
| Test Case ID | Test Scenario | Test Steps | Test Data | Expected Result | Actual Result | Pass/Fail | | Test Case ID | Test Scenario | Test Steps | Test Data | Expected Result | Actual Result | Pass/Fail |
|-----------------|----------------------------------------|-------------------------------------------------------|------------------------------------|---------------------------------------------------------------|---------------|-----------| |-----------------|----------------------------------------|-------------------------------------------------------|------------------------------------|---------------------------------------------------------------|-------------------------------------------------------------|-----------|
| TC-TT-021 – US3 | AI recipe generation happy path | Enter "chicken, rice, garlic" → Click Generate Recipe | ingredients: chicken, rice, garlic | AI returns full customized recipe (quantities + cooking time) | --- | --- | | TC-TT-021 – US3 | AI recipe generation happy path | Enter "chicken, rice, garlic" → Click Generate Recipe | ingredients: chicken, rice, garlic | AI returns full customized recipe (quantities + cooking time) | AI returned full customized recipe with quantities & time | Pass |
| TC-TT-022 – US3 | Validate ingredient field required | Leave ingredient field empty → Click Generate | ingredients: "" | Error: "Please enter at least one ingredient" | --- | --- | | TC-TT-022 – US3 | Validate ingredient field required | Leave ingredient field empty → Click Generate | ingredients: "" | Error: "Please enter at least one ingredient" | Error displayed: "Please enter at least one ingredient" | Pass |
| TC-TT-023 – US3 | AI handles 1 ingredient | Enter "eggs" → Generate | ingredients: eggs | AI generates simple recipe or suggests missing items | --- | --- | | TC-TT-023 – US3 | AI handles 1 ingredient | Enter "eggs" → Generate | ingredients: eggs | AI generates simple recipe or suggests missing items | AI generated simple recipe and suggested missing items | Pass |
| TC-TT-024 – US3 | AI generates substitutions | Enter "pasta, tomato" → Generate | ingredients: pasta, tomato | At least 1 substitution shown | --- | --- | | TC-TT-024 – US3 | AI generates substitutions | Enter "pasta, tomato" → Generate | ingredients: pasta, tomato | At least 1 substitution shown | Substitution suggestions were displayed | Pass |
| TC-TT-025 – US3 | AI customizes cooking time | Enter ingredients → Generate | ingredients: ground beef, onions | Output includes cooking duration | --- | --- | | TC-TT-025 – US3 | AI customizes cooking time | Enter ingredients → Generate | ingredients: ground beef, onions | Output includes cooking duration | Output included a clear cooking duration | Pass |
| TC-TT-026 – US3 | AI customizes ingredient quantities | Enter "potatoes, butter" → Generate | ingredients: potatoes, butter | Recipe lists measurable quantities | --- | --- | | TC-TT-026 – US3 | AI customizes ingredient quantities | Enter "potatoes, butter" → Generate | ingredients: potatoes, butter | Recipe lists measurable quantities | Recipe displayed measurable ingredient quantities | Pass |
| TC-TT-027 – US3 | AI handles long ingredient list | Enter 12 ingredients → Generate | ingredients: long list | Valid structured recipe still produced | --- | --- | | TC-TT-027 – US3 | AI handles long ingredient list | Enter 12 ingredients → Generate | ingredients: long list | Valid structured recipe still produced | AI generated a structured recipe successfully | Pass |
| TC-TT-028 – US3 | AI rejects invalid characters | Enter "@@@🔥🔥" → Generate | ingredients: @@@🔥🔥 | Error: "Invalid ingredient input" | --- | --- | | TC-TT-028 – US3 | AI rejects invalid characters | Enter "@@@🔥🔥" → Generate | ingredients: @@@🔥🔥 | Error: "Invalid ingredient input" | Error displayed: "Invalid ingredient input" | Pass |
| TC-TT-029 – US3 | AI handles rare ingredients | Enter "saffron" → Generate | ingredients: saffron | AI gives recipe or alternatives | --- | --- | | TC-TT-029 – US3 | AI handles rare ingredients | Enter "saffron" → Generate | ingredients: saffron | AI gives recipe or alternatives | AI produced a recipe and offered alternatives | Pass |
| TC-TT-030 – US3 | Displays loading state during AI fetch | Enter ingredients → Generate | ingredients: chicken, onions | Shows "Loading…" animation during fetch | --- | --- | | TC-TT-030 – US3 | Displays loading state during AI fetch | Enter ingredients → Generate | ingredients: chicken, onions | Shows "Loading…" animation during fetch | Loading animation displayed during AI fetch | Pass |
---
## **User Story 4 – Favourite Recipes (10 Test Cases)** ## **User Story 4 – Favourite Recipes (10 Test Cases)**
... ...
......