Frontend TC107 ‐ Comment - bounswe/bounswe2024group4 GitHub Wiki
Test Case ID: TC107
Description: Verify that the user can comment on a post.
Preconditions: User must have a registered account, must be already logged in and must have posts created before or follow another user with posts.
Test Steps
Step | Description | Expected Screenshot | Actual Results | Status |
---|---|---|---|---|
1 | Navigate to feed | - [ ] Pass- [ ] Fail- [ ] Aborted | ||
2 | Hover on the comment icon | - [ ] Pass- [ ] Fail- [ ] Aborted | ||
3 | Press the comment icon and wait for the post page to load | - [ ] Pass- [ ] Fail- [ ] Aborted | ||
4 | Write a comment | - [ ] Pass- [ ] Fail- [ ] Aborted | ||
5 | Press enter and send the comment | - [ ] Pass- [ ] Fail- [ ] Aborted | ||
6 | Refresh the page | - [ ] Pass- [ ] Fail- [ ] Aborted |
Expected Results
- Commenting should immediately add the comment at the end of current comments list. It is expected that the new comment won't have profile picture and like count information as this is done in UI and actual information requires a refresh to get a response from the server. In case of a server-side or network issue, this may fail and the comment might be reverted in which case the test should be repeated to see if it is a persistent issue. If it's persistent the test is failed.
Actual Results
Overall Status
- Pass
- Fail