Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18405

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        1. A1_API_unpublished.png
          A1_API_unpublished.png
          43 kB
        2. A1_list_recordings.png
          A1_list_recordings.png
          91 kB
        3. A1_playback.png
          A1_playback.png
          86 kB
        4. A1_recording.png
          A1_recording.png
          165 kB
        5. A1_unpublished.png
          A1_unpublished.png
          28 kB
        6. A2_API_delete.png
          A2_API_delete.png
          42 kB
        7. A2_deleted.png
          A2_deleted.png
          38 kB
        8. A2_list_recordings.png
          A2_list_recordings.png
          92 kB
        9. A2_playback.png
          A2_playback.png
          92 kB

        Issue Links

          Activity

            People

              meirza.arson@moodle.com Meirza
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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