Acceptance Test ‐ Mehmet Akif Yıldırım - bounswe/bounswe2026group11 GitHub Wiki

TC_ACC_FAVORITES_DISCOVERY_005 - Save a Favorite Location, Use It in Discovery, and Save an Event

Structured Test Document

Field Value
Test case ID TC_ACC_FAVORITES_DISCOVERY_005
Name / Test Title User saves a favorite location, uses it as the discovery center, and saves a nearby event to favorites
Test Priority Medium
Name of Module Favorites & Event Discovery
Designed by Mehmet Akif Yıldırım
Date designed April 30, 2026
Executed by Not executed during Lab 9
Date of Execution Not executed during Lab 9
Test Type / Keywords Acceptance, functional, favorite locations, discovery, radius filter, favorite events, saved events
Description of Test Verify that a logged-in user can define a favorite location, use that saved location as the discovery center for nearby event filtering, save a matching event to favorites, and later access that event from the dedicated favorites section.
Pre-condition A user account exists and can log in. Backend, frontend/mobile client, and database are running. At least two discoverable events exist: one within 5 km of Beşiktaş Square and one outside that radius. The nearby event is not already favorited by the test user.
Dependencies Login, favorite locations, discovery/list view, radius filtering, event detail view, favorite events list
Test Data User: [email protected], password: FavoritesPass!2026. Favorite location name: Besiktas Hub. Favorite location address: Besiktas Square, Istanbul. Center: 41.0422, 29.0083. Radius: 5 km. Nearby event: TC Besiktas Board Game Meetup, category Gaming, privacy PUBLIC, start 2026-05-12T19:00:00+03:00. Distant event: TC Tuzla Live Music Night, category Music, privacy PUBLIC, start 2026-05-12T20:00:00+03:00.
Expected Results The user can save a favorite location successfully. The saved location can be selected as the discovery center. Radius filtering keeps the nearby event visible and excludes the distant event. The user can save the nearby event to favorites. The event appears in the dedicated favorites section, and the event save metric reflects the new favorite state.
Actual Result Not executed during Lab 9.
Post-condition The user has one saved favorite location (Besiktas Hub) and one saved favorite event (TC Besiktas Board Game Meetup).
Automated? No
Link / Defect ID No defect.
Requirement 5.1.1, 5.2.1, 5.6.1, 5.6.2, 6.1.1, 6.1.2, 6.2.1, 6.2.2
Status Not Executed
Notes This test fills a coverage gap left by the current acceptance tests, which already focus on public/protected joining, ticketing, reconfirmation, and post-event feedback.

Test Steps

Step No Description Data Expected Result Actual Result Status
1 Log in with valid user credentials. Email: [email protected]; password: FavoritesPass!2026 User session is created successfully. Not executed Not Executed
2 Open the Favorites page and switch to the Locations tab. Logged-in user session The favorite locations section is displayed. Existing saved locations, if any, are listed. Not executed Not Executed
3 Add a new favorite location. Name: Besiktas Hub; address search: Besiktas Square, Istanbul The location is saved successfully and appears in the favorite locations list. Not executed Not Executed
4 Open the Discovery page. Logged-in user session The discovery/list view is displayed with discoverable events. Not executed Not Executed
5 Open the location selector in Discovery and choose the saved favorite location. Favorite location: Besiktas Hub Besiktas Hub is selectable and becomes the active discovery center. Not executed Not Executed
6 Apply a 5 km radius filter around the selected favorite location. Center: 41.0422, 29.0083; radius: 5 km TC Besiktas Board Game Meetup remains visible because it is within range. TC Tuzla Live Music Night is excluded because it is outside the selected radius. Not executed Not Executed
7 Open the nearby event detail page. Event: TC Besiktas Board Game Meetup Event details are displayed successfully. The favorite/save action is visible. Not executed Not Executed
8 Save the nearby event to favorites. Same event The event becomes favorited for the user. The favorite icon changes to the saved state. Not executed Not Executed
9 Refresh or reopen the same event detail page. Same event The event still appears as favorited. The displayed save count is updated to reflect the new favorite state. Not executed Not Executed
10 Open the Favorites page and switch to the Events tab. Logged-in user session The dedicated favorites section is displayed. Not executed Not Executed
11 Verify that the saved event appears in the favorites list. Event: TC Besiktas Board Game Meetup The saved event is listed in the Favorites > Events section and can be opened from there. Not executed Not Executed