Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-18443 Moodle 4.4 QA
  3. MDLQA-18890

CLONE - Recordings updated or removed in the server should not be updated in Moodle

XMLWordPrintable

      This tests requires admin access, BBB setup and api-mate credentials

      1. Create a course C1.
      2. Add two BBB activities, A1 and A2 (with default values).
      3. Go to activity A1.
      4. Click on the “Join session” button and create a recording.
        • Press the recording button, wait for a few seconds (10 to 15).
        • Click the 3-dots at the top-right corner and exit the session by ending it.
      5. After a few minutes, run cron (we have to wait until the recording is available).
        • Confirm that after refreshing the page, the list of recordings shows a new recording.
      6. Verify you can playback the recording
        • Take note of the recordingID that appears as the last segment in the URL. (E.g. 65ecbe7db33b3a652a7c5df7ded146687f50e8de-1637605116096).
      7. Go to activity A2.
      8. Repeat steps 4 - 6.
      9. Prepare the external app api-mate:
        • On a different tab or browser, open api-mate: https://mconf.github.io/api-mate/
        • Make sure the credentials are the same used in BBB (before merging MDL-73200, the default server is test-install in both Moodle and API-Mate and you don't need to change anything).
      10. Unpublish the A1 recording outside Moodle, using api-mate:
        • Remove the random meetingID and replace the recordID for A1 with the one obtained from the actual recording on playback (e.g. 65ecbe7db33b3a652a7c5df7ded146687f50e8de-1637605116096).
        • Click the link to publish the recording, close to the "publishRecordings" text on the right side (which will actually unpublish it because by default publish is unchecked).
      11. Delete the A2 recording outside Moodle, using api-mate:
        • Remove the random meetingID and replace the recordID for A2 with the one obtained from the actual recording on playback (e.g. f7ded146687f50e8de-163760511609665ecbe7db33b3a652a7c5d).
        • Click the link to delete the recording, close to the "deleteRecordings" text on the right side.
      12. Wait 5 minutes so the cache expires.
      13. Go to activity A1 in Moodle.
      14. Confirm the recording is shown with no link for playback and the eye slashed icon is displayed on the "Toolbar" column.
      15. Got to activity A2 in Moodle.
      16. Confirm the recording is not shown in the table.

        1. A1 verify 1.png
          A1 verify 1.png
          103 kB
        2. A1 verify 2.png
          A1 verify 2.png
          145 kB
        3. A2 verify 1.png
          A2 verify 1.png
          103 kB
        4. A2 verify 2.png
          A2 verify 2.png
          143 kB
        5. verify 3.png
          verify 3.png
          99 kB
        6. verify 4.png
          verify 4.png
          97 kB

            stevani.andolo@moodle.com Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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