Acceptance Test ‐ Sevde Pekköse - bounswe/bounswe2026group11 GitHub Wiki
TC_ACC_EVENT_FEEDBACK_004 - Participant Submits Post-Event Feedback
Structured Test Document
| Field | Value |
|---|---|
| Test case ID | TC_ACC_EVENT_FEEDBACK_004 |
| Name / Test Title | Approved participant submits rating and written feedback for a completed event |
| Test Priority | Medium |
| Name of Module | Post-Event Feedback & Rating |
| Designed by | Sevde Pekköse |
| 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, post-event, feedback, rating, host reliability, completed event |
| Description of Test | Verify that only users who were approved participants of an event can submit feedback once the event has moved to 'Completed' status, and that this feedback includes both a mandatory rating and an optional comment. |
| Pre-condition | An event exists that has reached its end time and its status is COMPLETED. The user is an APPROVED participant of this event and is logged in. |
| Dependencies | Event status transition logic, participation records, feedback/rating service, host reliability score calculation. |
| Test Data | Event Title: Morning Yoga Session. Host: [email protected]. Participant: [email protected]. Rating Score: 5. Comment: Amazing session, very peaceful! Thanks for organizing!. |
| Expected Results | The "Leave Feedback" section becomes accessible on the event page only after the status is COMPLETED. The participant can submit their rating and comment. The system saves the feedback and updates the host's overall reliability score. |
| Actual Result | Not executed during Lab 9. |
| Post-condition | A feedback record is linked to the event and host. The host's public profile reflects the new average rating. |
| Automated? | No |
| Link / Defect ID | No defect. |
| Requirement | 4.1.2, 6.3.1, 6.3.2, 6.3.3, 6.4.1 |
| Status | Not Executed |
| Notes | Feedback is crucial for building trust within the community and evaluating host reliability. |
Test Steps
| Step No | Description | Data | Expected Result | Actual Result | Status |
|---|---|---|---|---|---|
| 1 | Participant logs in and navigates to their "Participation History". | Logged-in Participant session | A list of past events is displayed, including the Morning Yoga Session marked as COMPLETED. |
Not executed | Not Executed |
| 2 | Participant opens the Morning Yoga Session detail page. |
- | Event details are shown with a "Completed" badge. The feedback/rating section is visible and enabled. | Not executed | Not Executed |
| 3 | Participant attempts to submit the form without selecting a rating. | Comment: Nice event. |
System prevents submission and displays an error: "Rating score is mandatory." | Not executed | Not Executed |
| 4 | Participant selects a rating score and enters a comment. | Rating: 5; Comment: Amazing session... |
The "Submit" button becomes active. | Not executed | Not Executed |
| 5 | Participant clicks the "Submit Feedback" button. | - | A success message is displayed. The feedback form is replaced by the submitted content. | Not executed | Not Executed |
| 6 | A user who was NOT a participant of the event tries to access the same page. | Logged-in Random User | The event details are visible, but the "Leave Feedback" section is hidden or disabled for this user. | Not executed | Not Executed |
| 7 | Host logs in and checks their reliability score. | Logged-in Host session | The host's reliability score is updated to reflect the new 5-star rating. | Not executed | Not Executed |
| 8 | Participant navigates back to the event page. | - | The participant can see their own submitted feedback and cannot submit a second one. | Not executed | Not Executed |
| 9 | Verify aggregate metrics for the host. | - | The number of ratings for the host has increased by 1. | Not executed | Not Executed |
| 10 | Verify rating visibility for other users. | - | Other users browsing the host's profile can see the updated average rating and the recent comment. | Not executed | Not Executed |