-
Type:
Testcase
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 9.0.0
-
Component/s: Instant Messaging, Chat, Unit Testing, Selenium
-
Labels:None
-
Funded by:
Description
- Test new chat infrastructure of the 8.4 release
Test setup
- author1 (with author rights)
- user1, user2, user3 (all regular users with no author rights)
Test case
- Login with author1
- Create group
- In members tab, uncheck all checkboxes (coaches and members not visible)
- Add user1 and user2 as member to the group
- Login with user1
- Test: Chat shows 0 users are online
- Click chat roster
- Test: no online contacts visible
- Click "show offline contacts"
- Test: no offline contacts visible
- Test: '#b_counter span' shows two users online (footer of page)
- Logout with user1
- As author1 in members tab, check checkboxes "Members can see coaches"
- Login with user1
- Test: Chat shows 1 users are online
- Click chat roster
- Test: author shows up as contact
- Click "show offline contacts"
- Test: no offline contacts visible
- Logout with user1
- As author1 in members tab, check checkboxes "Members can see participant"
- Login with user1
- Test: Chat shows 1 users are online
- Click chat roster
- Test: author shows up as contact
- Click "show offline contacts"
- Test: user1 and user2 show up as offline contacts
- Login with user2
- Test as user1: Chat shows 2 users are online
- Click chat roster
- Test: author and user1 shows up as contact
- Click user2
- Test: window opens
- Write "hello world" and submit
- Test as user2: window pops up automatically, "hello world" appears
- As user1, open roster
- Select offline contact user3
- Write "clear sky"
- Login with user3
- Message "clear sky" appears after login
TO BE EXTENDED
- change status
- offline messages