Acceptance Test ‐ Cansu Er - bounswe/bounswe2026group11 GitHub Wiki
TC_ACC_DISCOVERY_PUBLIC_JOIN_001 - Login, Filter Events, and Join a Public Event
Structured Test Document
| Field | Value |
|---|---|
| Test case ID | TC_ACC_DISCOVERY_PUBLIC_JOIN_001 |
| Name / Test Title | User logs in, filters discoverable events, and joins a public event |
| Test Priority | High |
| Name of Module | Login, Event Discovery & Public Participation |
| Designed by | Cansu Er |
| 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, login, discovery, filtering, public event, participation |
| Description of Test | Verify that invalid login is rejected, valid login succeeds, public events appear in discovery, event filters narrow results correctly, and a participant can join a public event without host approval. |
| Pre-condition | Host and participant accounts exist. A public event matching the test data exists or can be created before execution. Backend, frontend/mobile client, and database are running. |
| Dependencies | Login, event creation, event discovery/list view, search, category filter, radius filter, date filter, public event join flow. |
| Test Data | Participant: [email protected], password: ParticipantPass!2026. Invalid password: WrongPass!2026. Event title: TC Public Morning Yoga. Privacy: PUBLIC. Category: Wellness. Location: Maçka Park, Istanbul. Latitude: 41.045000. Longitude: 28.991000. Radius filter: 5 km. Date filter: 2026-05-08. Search query: Morning Yoga. Capacity: 20. Start: 2026-05-08T09:00:00+03:00. End: 2026-05-08T10:00:00+03:00. |
| Expected Results | Login with invalid credentials is rejected with an error message. Login with valid credentials succeeds. The public event appears in discovery/list view. Applying search, category, radius, and date filters keeps the matching public event visible and excludes non-matching events. The participant can join the public event directly without host approval. After joining, participant status becomes APPROVED/JOINED, and participant count increases by 1. |
| Actual Result | Not executed during Lab 9. |
| Post-condition | The participant is logged in and has an approved participation record for the public event. |
| Automated? | No |
| Link / Defect ID | No defect. |
| Requirement | 1.1.3, 1.1.4, 3.1.1, 3.2.1, 4.5.6, 5.1.1, 5.2.1, 5.3.1, 5.3.2, 5.4.1, 5.5.1, 5.5.2 |
| Status | Not Executed |
| Notes | This test focuses on the participant-facing discovery journey and verifies that public event participation does not require host approval. |
Test Steps
| Step No | Description | Data | Expected Result | Actual Result | Status |
|---|---|---|---|---|---|
| 1 | Attempt to log in with invalid credentials. | Email: [email protected]; password: WrongPass!2026 |
Login is rejected and an invalid credentials error message is displayed. | Not executed | Not Executed |
| 2 | Log in with valid participant credentials. | Email: [email protected]; password: ParticipantPass!2026 |
Participant session is created successfully. | Not executed | Not Executed |
| 3 | Open the event discovery/list page. | Logged-in participant session | Public and protected events are listed; private events not accessible to the participant are not shown. | Not executed | Not Executed |
| 4 | Search for the public event by title. | Search query: Morning Yoga |
TC Public Morning Yoga appears in the results. Non-matching events are filtered out. |
Not executed | Not Executed |
| 5 | Apply category filter. | Category: Wellness |
The event remains visible because its category matches the selected category. | Not executed | Not Executed |
| 6 | Apply radius filter around the participant's selected location. | Center near Maçka Park; radius: 5 km |
The event remains visible because it is within the selected radius. Events outside the radius are not shown. | Not executed | Not Executed |
| 7 | Apply date filter. | Date: 2026-05-08 |
The event remains visible because its start time is within the selected date range. Events outside the date range are not shown. | Not executed | Not Executed |
| 8 | Open the public event detail page. | Event title: TC Public Morning Yoga |
Event details are displayed and a direct join action is available. | Not executed | Not Executed |
| 9 | Join the public event. | Same event | The participant joins directly without host approval. Participation status becomes APPROVED/JOINED. |
Not executed | Not Executed |
| 10 | Refresh the event detail page. | Same event | Participant count increases by 1 and the participant sees joined/approved state. | Not executed | Not Executed |
| 11 | Try to join the same public event again. | Same event | System does not create a duplicate participation and keeps the participant as already joined. | Not executed | Not Executed |