### Test 1 - Self Assigning Tickets (Agent)
| Title | Description | Status |
|------------------|--------------------------------------------------------------------|:------:|
| Ticket Landing | Commented on a post and found tickect being created in pending tab | ✅ |
| Accepting Ticket | Accepted the ticket from pending tab to self assign | ✅ |
**Note : Supervisor cannot assign tickets to himself. Only agents can assign tickets.**
-----
### Test 2 - Assigning Tickets From Supervisor Panel
| Title | Description | Status |
|-----------------------|--------------------------------------------------------------------|:-------:|
| Ticket Landing | Commented on a post and found tickect being created in pending tab | ✅ |
| Assigning Ticket | Assigned the ticket to an agent | ✅ |
| Agent recieved ticket | Agent successfully recieved the ticket in his/her active tab | ✅ |
### Test 2.1 - Ticket Auto Assign
| Title | Description | Status |
|-----------------------|--------------------------------------------------------------------|:-------:|
| Ticket Landing | Agents should recieve tickets autometically if less than 2 tickets are in active queue of that agent | ✅ |
-----
### Test 3 - Tickets
| Title | Description | Status |
|------------------------------|--------------------------------------------------------------------------|:------:|
| Profile Picture | Ticket should show the profile picture of the user | ❌ |
| Profile Name | Ticket should show the profile name of the user | ❌ |
| Channel Name | Ticket should show the page name where the comment post has been created | ✅ |
| Subject | Ticket should show the subject (comment body/post body) | ✅ |
| Type | Ticket should show the type comment/post | ✅ |
| Assignee (active and closed) | Ticket should show agent avatar that it has been assigned to | ✅ |
| Accept button (pending) | Ticket should show accept button in pending tab | ✅ |
-----
### Test 4 - Post & Comment Details
###### <center>Ticket type "Comment"</center>
| Title | Description | Status |
|----------------------|----------------------------------------------------------------------------------------------------|:------:|
| Ticket Details | Clicked on a ticket and got the details of that ticket | ✅ |
| Showing post details | Ticket details should show the details of the post where the user commented | ✅ |
| Post stats | Ticket details should show like & comment count of the post, view post should land to correct page | ✅ |
| Comment details | Ticket details should show the comment created by user | ✅ |
| Comment details form wall post | Ticket details should show details of ticket created by commenting on a wall post created by general facebook user | ✅ |
###### <center>Ticket type "Post"</center>
| Title | Description | Status |
|----------------------|----------------------------------------------------------------------------------------------------|:------:|
| Ticket Details | Clicked on a ticket and got the details of that ticket | ✅ |
| Showing post details | Ticket details should show the details of the post where the user commented | ✅ |
| Post stats | Ticket details should show like & comment count of the post, view post should land to correct page | ✅ |
| Post Actions | Should show like and delete (only supervisor) button | ✅ |
| Like Post | Should add a like to the post in facebook as the page | ✅ |
| UnLike Post | Should remove the like from the post in facebook | ✅ |
| Delete Post | Should delete the post in facebook | ✅ |
-----
### Test 5 - Comment Actions
| Title | Description | Status |
|-----------------------|-----------------------------------------------------------------------------------------------------------|:------:|
| Show targeted comment | Post details should show the targeted comment highlighted in primary color | ✅ |
| Comment Link | Should show a link button when hover, clicking it should bring to the comment **Highlighted** in facebook | ✅ |
| Like comment | Like comment should add a like to the comment in facebook as the page | ✅ |
| Unlike comment | Unlike comment should remove the like from the comment in facebook | ✅ |
| Hide comment | Hide comment should hide the comment from facebook and show the comment in mevrik with grayscale filter | ✅ |
| Unhide comment | Unhide comment should bring back the comment in facebook and normalize the grayscale filter | ✅ |
| Showing delete button | Only supervisor should see the delete button | ✅ |
| Delete comment | Should delete the comment in facebook, show the deleted with a red and strikethrow filter | ✅ |
| Remove actions | Should remove all action button when deleted | ✅ |
-----
### Test 6 - Reply
*Each of these tests should close the ticket and move it to closed tab from active tab*
| Title | Description | Status |
|-------------------------------------|--------------------------------------------------------------------|:------:|
| Reply with comment | Sending comment with only text should work | ✅ |
| Reply with attachment | Sending comment with only attachment should work | ❌ |
| Reply with text & attachment | Sending comment with both text and attachment should work | ✅ |
| Mention User | Sending comment with **@User** should mention the user in facebook | ✅ |
| Direct reply with text | Sendign direct reply with only text should work | ✅ |
| Direct reply with attachment | Sendign direct reply with only attachment should work | ✅ |
| Direct reply with text & attachment | Sendign direct reply with both text & attachment should work | ✅ |
| No reply | No reply should close the ticket | ✅ |
**Note: No reply is creating an empty comment in mevrik tool.**
-----
### Test 7 - Advanced Search
*This search is for live queue, not the search in browser*
*Each of these search query should work with any of the other queries active*
| Title | Description | Status |
|----------|------------------------------------------------------------------------------------------|:------:|
| Search | Searching with a text with matching comment/post body should return a list of tickets | ✅ |
| Case | Searching with Case id should work | ✅ |
| Queue | Searching with Queue id should work | ⚙️ |
| Channel | Filtering with specific channel should work | ✅ |
| Status | Filtering with specific status should work | ✅ |
| Source | ??? | ❌ |
| From | ??? | ❌ |
| Assigned | Filtering with specific agent should return a list of ticket only assigned to that agent **(Test from supervisor panel only)**| ✅ |
-----
### Test 8 - Social Browser Filters
| Title | Description | Status |
|-------------|---------------------------------------------------------------------------------------|:------:|
| CaseID | Searching with Case id should work | ✅ |
| Channel | Filtering with specific channel should work | ✅ |
| Type | Filtering with specific type Comment/Post should work | ✅ |
| Status | Filtering with specific status should work | ❌ |
| Date Range | Filtering with Date range should work | ✅ |
| Keyword | Searching with a text with matching comment/post body should return a list of tickets | ✅ |
| Search user | Searching with user should only show tickets being created by that user , plus need to show user's picture and single name | ❌ |
-----
### Test 9 - Social Browser Tickets
| Title | Description | Status |
|------------------------------|-----------------------------------------------------------------------------------------------|:------:|
| Checkbox | Ticket should show checkboxes if accessing as supervisor. Agents should not see the checkbox. | ✅ |
| Profile Picture | Ticket should show the profile picture of the user | ✅ |
| Profile Name | Ticket should show the profile name of the user | ✅ |
| Channel Name | Ticket should show the page name where the comment post has been created | ✅ |
| Status | Ticket should show the Active/Pending/Closed Status | ✅ |
| Assignee (active and closed) | Ticket should show agent avatar that it has been assigned to | ✅ |
-----
### Test 10 - Social Browser Post & Comment Details
###### <center>Ticket type "Comment"</center>
| Title | Description | Status |
| ----------------- | -------------------------------------------------------------------------------------------------- |:------:|
| Ticket Details | Clicking on a ticket should show the details of that ticket | ✅ |
| Post details | Ticket details should show the details of the post where the user commented | ✅ |
| Post stats | Ticket details should show like & comment count of the post, view post should land to correct page | ✅ |
| Comment details | Ticket details should show the comment created by user | ✅ |
| Agent Replies | Ticket details should show the reply sent by agent | ✅ |
| Reply destination | Agent replies should show the destination (comment/private reply) | ✅ |
###### <center>Ticket type "Post"</center>
| Title | Description | Status |
|----------------------|----------------------------------------------------------------------------------------------------|:------:|
| Ticket Details | Clicking on a ticket should show the details of that ticket | ✅ |
| Showing post details | Ticket details should show the details of the post where the user commented | ✅ |
| Post stats | Ticket details should show like & comment count of the post, view post should land to correct page | ✅ |
-----
### Test 11 - Social Browser Comment Actions
| Title | Description | Status |
|-----------------------|------------------------------------------------------------------------------------------------------------|:------:|
| Show targeted comment | Post details should show the targeted comment highlighted in primary color | ✅ |
| Comment Link | Should show link button when hover, clicking it should bring to the comment **Highlighted** in facebook | ✅ |
| Like comment | Like comment should add a like to the comment in facebook as the page | ✅ |
| Unlike comment | Unlike comment should remove the like from the comment in facebook | ✅ |
| Hide comment | Hide comment should hide the comment from facebook and show the comment in mevrik with grayscale filter | ✅ |
| Unhide comment | Unhide comment should bring back the comment to facebook and normalize the grayscale filter in mevrik tool | ✅ |
| Showing Delete btn | Only supervisor should see the delete button | ✅ |
| Delete comment | Delete comment should delete the comment in facebook, show with a red and strikethrow filter | ✅ |
| Showing Edit button | Only supervisor should see the edit button only on page replies | ✅ |
-----
### Test 12 - Social Browser Edit Comment
| Title | Description | Status |
|------------------|----------------------------------------------------------------------------------------------|:------:|
| Edit Dialog | Should bring editor with texts & attachments, sentiment and relevant status as default value | ✅ |
| Edit and Update | Should be able to edit and update the comment if it is a comment | ✅ |
| Edit and Direct | Should be able to edit and direct reply if it is a comment | ✅ |
| Edit and Comment | Should be able to edit and new comment if it is a direct message | ✅ |
| Sentiment | Changing the sentiment should work | ✅ |
| Relevant | Changing the relevant should work | ✅ |
| Mention | Mention with **@User** should work | ✅ |
| Add to history | Should add the previous reply to history and show **edited** status | ✅ |
-----
### Test 13 - Social Browser Bulk Reply
| Title | Description | Status |
| ----------------------------------- | ----------------------------------------------------------------------------- | :----: |
| Ticket Selection | Should be able to mark tickets | ✅ |
| Select all | Should be able to mark all tickets in the current page in view | ✅ |
| Show counts | Should show the marked tickets count in both tickets list and above reply box | ✅ |
| Show actions | Should show actions in reply panel when one or more tickets are marked | ✅ |
| Delete | Should delete all marked tickets when replying with delete action | ✅ |
| Hide | Should Hide all marked tickets when replying with hide action | ❌ |
| Like | Should like all marked tickets when replying with like action | ✅ |
| Reply with comment | Sending comment with only text should work | ✅ |
| Reply with attachment | Sending comment with only attachment should work | ❌ |
| Reply with text & attachment | Sending comment with both text and attachment should work | ✅ |
| Mention User | Sending comment with **@User** should mention the user in facebook | ✅ |
| Direct reply with text | Sendign direct reply with only text should work | ❌ |
| Direct reply with attachment | Sendign direct reply with only attachment should work | ❌ |
| Direct reply with text & attachment | Sendign direct reply with both text & attachment should work | ❌ |
| No reply | No reply should close the marked tickets | ❌ |
---
### Delivery Status (Rabib vhaia)
- Add delivery status notifier in messages.
- Add filter by delivery status.