Changes
Page history
Update Deliverable_3
authored
Nov 17, 2025
by
Amna Shakeel (kln390)
Show whitespace changes
Inline
Side-by-side
Deliverable_3.md
View page @
5a19ec44
...
...
@@ -523,16 +523,16 @@ As Campus Chris, I want to create a list that contains my favourite recipes.
| Test Case ID | Test Scenario | Test Steps | Test Data | Expected Result | Actual Result | Pass/Fail |
|--------------|---------------|------------|-----------|------------------|---------------|-----------|
|
**TC-TT-031 – US4**
| Add recipe to favourites happy path | Open recipe → Click "Add to Favourites" | recipeId: 101 | Recipe added + confirmation toast | --- |
---
|
|
**TC-TT-032 – US4**
| Prevent duplicate favourites | Click "Add to Favourites" twice | recipeId: 101 | Error: "Already in favourites" | --- |
---
|
|
**TC-TT-033 – US4**
| Remove recipe from favourites | Open favourites → Click Remove | recipeId: 204 | Item removed, list updates | --- |
---
|
|
**TC-TT-034 – US4**
| Empty favourites list | Navigate to Favourites page | none | Shows "No favourite recipes yet" | --- |
---
|
|
**TC-TT-035 – US4**
| Persistence across sessions | Add favourite → Logout → Login → Check | recipeId: 501 | Favourite still saved | --- |
---
|
|
**TC-TT-036 – US4**
| Favourites load within 2 seconds | Go to Favourites page | none | List loads < 2 seconds | --- |
---
|
|
**TC-TT-037 – US4**
| Requires authentication | Logged out → Click "Add to Favourites" | recipeId: 88 | Redirect to Login page | --- |
---
|
|
**TC-TT-038 – US4**
| Heart icon state correct | View recipe card | recipeId: 303 | Filled heart = favourited, outline = not | --- |
---
|
|
**TC-TT-039 – US4**
| Favourites show recipe details | Open Favourites page | recipeId: random | Displays title, image, cook time, ingredients | --- |
---
|
|
**TC-TT-040 – US4**
| Backend failure handling | Simulate server error → Add favourite | recipeId: 300 | Error toast: "Unable to save favourite" | --- |
---
|
|
**TC-TT-031 – US4**
| Add recipe to favourites happy path | Open recipe → Click "Add to Favourites" | recipeId: 101 | Recipe added + confirmation toast | --- |
Fail
|
|
**TC-TT-032 – US4**
| Prevent duplicate favourites | Click "Add to Favourites" twice | recipeId: 101 | Error: "Already in favourites" | --- |
Fail
|
|
**TC-TT-033 – US4**
| Remove recipe from favourites | Open favourites → Click Remove | recipeId: 204 | Item removed, list updates | --- |
Fail
|
|
**TC-TT-034 – US4**
| Empty favourites list | Navigate to Favourites page | none | Shows "No favourite recipes yet" | --- |
Fail
|
|
**TC-TT-035 – US4**
| Persistence across sessions | Add favourite → Logout → Login → Check | recipeId: 501 | Favourite still saved | --- |
Fail
|
|
**TC-TT-036 – US4**
| Favourites load within 2 seconds | Go to Favourites page | none | List loads < 2 seconds | --- |
Fail
|
|
**TC-TT-037 – US4**
| Requires authentication | Logged out → Click "Add to Favourites" | recipeId: 88 | Redirect to Login page | --- |
Fail
|
|
**TC-TT-038 – US4**
| Heart icon state correct | View recipe card | recipeId: 303 | Filled heart = favourited, outline = not | --- |
Fail
|
|
**TC-TT-039 – US4**
| Favourites show recipe details | Open Favourites page | recipeId: random | Displays title, image, cook time, ingredients | --- |
Fail
|
|
**TC-TT-040 – US4**
| Backend failure handling | Simulate server error → Add favourite | recipeId: 300 | Error toast: "Unable to save favourite" | --- |
Fail
|
## **Test Cases - Hooria_**
...
...
...
...