-
Functional Test
-
Minor
-
Moodle 4.3
-
None
Pre-requisites
Ensure the required filters are enabled by default:
- Display emoticons as images
- Convert URLs into links and images
MDLQA-52: Real-time Synchronous Discussion in Chat
1. Log in as student1 and access a chat activity.
2. Enter the chat and add a message with an emoticon.
3. Log in as student2 (using a different browser) and access the chat.
4. Check that the message from student1 is displayed correctly.
5. Add a chat message containing a URL (e.g., http://moodle.org) and verify that the URL is converted into a link.
6. Add a chat message "/me laughs!" and check that it displays as "Sam laughs!" (where Sam is the name of the student).
7. Add a chat message "<em>Text in italics</em>" and verify that it is displayed in italics.
8. Add a chat message "<b>Text in bold</b>" and verify that it is displayed in bold.
9. Switch to each different theme and check that the chat displays nicely in each theme.
MDLQA-53: Sending Sounds in Chat
1. Log in as student1 and access a chat activity.
2. Enter the chat.
3. In a different browser, log in as student2 and access the chat.
4. Click the "beep" link for student1 and check that a beep sound is heard, displaying the message 'Sam has just beeped you!' for student1 (where Sam is the name of student2).
Note: On Linux, a browser plugin may be needed to play sound.
MDLQA-54: Stop Automatic Chat Scrolling
1. Log in as a student and go to a chat activity.
2. Enter the chat and add chat messages until they scroll automatically.
3. Move the mouse over a chat message to check that automatic scrolling stops.
4. Log in as an admin and go to Site administration / Plugins / Activity modules / Chat.
5. Set the Chat method to Normal.
6. Log in as the student and go to the chat activity.
7. Enter the chat and add chat messages until they scroll automatically.
8. Untick the auto scroll checkbox next to the text input field.
9. Add more chat messages and verify they no longer scroll automatically.
MDLQA-55: Chat Window without Frames and JavaScript
1. Log in as a student and access a chat activity.
2. Follow the 'Use more accessible interface' link.
3. Submit a few messages and check that they display correctly below the message submit button.
4. Check the 'Show only new' box and submit more messages to verify that only the most recent message is displayed.
MDLQA-56: Set Repeated Chat Times
1. Log in as a teacher, update a chat activity, and set repeat sessions at the same time every day.
2. Go to the calendar, update the "All courses" dropdown to select the name of the course, and verify that the next scheduled chat session appears.
3. Update the chat activity and set repeat sessions at the same time every week.
4. Go to the calendar, update the "All courses" dropdown to select the name of the course, and verify that the next scheduled chat session appears.
Note: Only the next scheduled chat session should appear in the course calendar and not every session.
MDLQA-57: View Past Chat Sessions
1. Prevent the student role from the capability "Read chat logs mod/chat:readlog" within the chat.
2. Log in as a teacher, update a chat activity, and set 'Everyone can view past sessions' to Yes.
3. Log in as a student, access the chat, and verify that past chat sessions can be viewed via the 'Past sessions' link in the secondary navigation.
4. Log in as a teacher, update the chat activity, and set 'Everyone can view past sessions' to No.
5. Verify that past chat sessions can be viewed (as a teacher) via the 'Past sessions' link.
6. Log in as a student, access the chat, and check that the 'Past sessions' link is no longer present in the secondary navigation.
7. Return the "Read chat logs mod/chat:readlog" capability to the student role.
8. Verify that past chat sessions can be viewed (as a student) via the 'Past sessions' link.
- has a non-specific relationship to
-
MDL-68964 Swapping theme in chat window causing notice error
- Closed