Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-80151

Behat to confirm chat repeated times can be set and past sessions can be viewed (Automate MDLQA-52)

XMLWordPrintable

      QA test to be automated: MDLQA-52 (MDLQA-56 and MDLQA-57 only)

      Testing instructions

      Pre-requisites

      Ensure the required filters are enabled by default:

      • Display emoticons as images
      • Convert URLs into links and images

      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.

            andelacruz Angelia Dela Cruz
            andelacruz Angelia Dela Cruz
            Simey Lameze Simey Lameze
            Huong Nguyen Huong Nguyen
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 7 hours, 27 minutes
                1w 7h 27m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.