Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16661

CLONE - Course content can be downloaded by students and teachers when the feature is enabled

XMLWordPrintable

      This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      1. Log in as admin.
      2. Navigate to Site administration > Courses > Download course content.
      3. Set the following and then save changes:
        1. "Download course content feature available" to Yes (checked).
        2. "Maximum size per file" to 200 KB.
      4. On the same page, from the "Download course content feature available" description, click the "Course default settings" link.
      5. Set "Enable download course content" to Yes and press "Save changes".
      6. Log in as a teacher.
      7. Navigate to a course, turn editing on and add the following activities/resources (make sure to enter a description for each):
        Activity/Resource Details
        File Containing a file smaller than 200KB.
        Folder Containing one file smaller than 200KB and one file larger.
        Label Containing some text.
        Page In the page content, include some text and embed 2 images (one smaller than 200KB and one larger).
      8. Return to the course and in the actions menu (Boost) or course administration (Classic), select "Download course content".
      9. CONFIRM you see the "Download course content" modal popup, and that the text mentions "200KB".
      10. Press "Download" and CONFIRM it triggers the download of a zip file (if you are prompted, choose to save the file).
      11. Extract the zip file you just downloaded, then open the unzipped folder (and then the course folder), and open the index.html file in your web browser (this will be referred to as the index page).
      12. CONFIRM the headings at top of the index page match the site name and course name of the course you exported.
      13. CONFIRM the names and types of activities/resources shown on the index page match those in the Moodle course.
      14. Open each of the activities from the index page and CONFIRM the following:
        Activity/resource Content to confirm
        File Name and description match the original, the file is correct and clicking it shows it is part of the download (the URL starts with file://).
        Folder Name, description and files match the original, clicking the smaller image shows it is part of the download (file://), clicking the larger image shows it is loaded from the Moodle site (the URL will be from the actual Moodle site and not file://).
        Label Name and description match the original.
        Page Name, description and content match the original. Right clicking each image and choosing "view image" loads the smaller one from the download and the larger one from the Moodle site.
      15. Log in as a student and navigate to the same course.
      16. CONFIRM you see the "Download course content" button.
      17. Press the "Download course content" button.
      18. Repeat steps 9-14 above for the file downloaded as the student.

        1. activity.png
          activity.png
          34 kB
        2. download.png
          download.png
          57 kB
        3. image-2022-03-29-14-04-50-891.png
          image-2022-03-29-14-04-50-891.png
          429 kB
        4. MDLQA-16661_step_12_names_match.png
          MDLQA-16661_step_12_names_match.png
          89 kB
        5. MDLQA-16661_step_13_activities_match_created.png
          MDLQA-16661_step_13_activities_match_created.png
          98 kB
        6. MDLQA-16661_step_13_activities_match.png
          MDLQA-16661_step_13_activities_match.png
          316 kB
        7. MDLQA-16661_step_14_teacher_file_1.png
          MDLQA-16661_step_14_teacher_file_1.png
          43 kB
        8. MDLQA-16661_step_14_teacher_file_clicked.png
          MDLQA-16661_step_14_teacher_file_clicked.png
          13 kB
        9. MDLQA-16661_step_14_teacher_folder_1_large.png
          MDLQA-16661_step_14_teacher_folder_1_large.png
          19 kB
        10. MDLQA-16661_step_14_teacher_folder_1_small.png
          MDLQA-16661_step_14_teacher_folder_1_small.png
          62 kB
        11. MDLQA-16661_step_14_teacher_folder_1.png
          MDLQA-16661_step_14_teacher_folder_1.png
          42 kB
        12. MDLQA-16661_step_14_teacher_label.png
          MDLQA-16661_step_14_teacher_label.png
          67 kB
        13. MDLQA-16661_step_14_teacher_page.png
          MDLQA-16661_step_14_teacher_page.png
          233 kB
        14. MDLQA-16661_step_16.png
          MDLQA-16661_step_16.png
          32 kB
        15. MDLQA-16661_step_9_student_modal.png
          MDLQA-16661_step_9_student_modal.png
          25 kB
        16. MDLQA-16661_step_9_teacher_modal.png
          MDLQA-16661_step_9_teacher_modal.png
          22 kB
        17. MDLQA-16661_student_step_12.png
          MDLQA-16661_student_step_12.png
          21 kB
        18. MDLQA-16661_student_step_13_activities_match.png
          MDLQA-16661_student_step_13_activities_match.png
          200 kB
        19. MDLQA-16661_student_step_14_file.png
          MDLQA-16661_student_step_14_file.png
          65 kB
        20. MDLQA-16661_student_step_14_folder_large.png
          MDLQA-16661_student_step_14_folder_large.png
          33 kB
        21. MDLQA-16661_student_step_14_folder_small.png
          MDLQA-16661_student_step_14_folder_small.png
          122 kB
        22. MDLQA-16661_student_step_14_label.png
          MDLQA-16661_student_step_14_label.png
          41 kB
        23. MDLQA-16661_student_step_14_page.png
          MDLQA-16661_student_step_14_page.png
          534 kB
        24. popup.png
          popup.png
          45 kB
        25. Screenshot 2022-03-24 201501.png
          Screenshot 2022-03-24 201501.png
          54 kB
        26. Screenshot 2022-03-24 202431.png
          Screenshot 2022-03-24 202431.png
          7 kB
        27. Screenshot 2022-03-24 202926.png
          Screenshot 2022-03-24 202926.png
          25 kB
        28. Screenshot 2022-03-24 203112.png
          Screenshot 2022-03-24 203112.png
          196 kB
        29. Screenshot 2022-03-24 204219.png
          Screenshot 2022-03-24 204219.png
          58 kB
        30. Screenshot 2022-03-24 204403.png
          Screenshot 2022-03-24 204403.png
          10 kB

            michaelh Michael Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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