Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16759 Moodle 4.1 QA
  3. MDLQA-17277

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




      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. Screenshot 2022-11-07 181315.png
          Screenshot 2022-11-07 181315.png
          44 kB
        2. Screenshot 2022-11-07 181357.png
          Screenshot 2022-11-07 181357.png
          21 kB
        3. Screenshot 2022-11-07 181418.png
          Screenshot 2022-11-07 181418.png
          3 kB
        4. Screenshot 2022-11-07 182442.png
          Screenshot 2022-11-07 182442.png
          34 kB
        5. Screenshot 2022-11-07 182805.png
          Screenshot 2022-11-07 182805.png
          78 kB
        6. Screenshot 2022-11-07 183613.png
          Screenshot 2022-11-07 183613.png
          28 kB
        7. Screenshot 2022-11-07 183702.png
          Screenshot 2022-11-07 183702.png
          38 kB
        8. Screenshot 2022-11-07 183839.png
          Screenshot 2022-11-07 183839.png
          27 kB
        9. Screenshot 2022-11-07 184021.png
          Screenshot 2022-11-07 184021.png
          37 kB
        10. Screenshot 2022-11-07 184508.png
          Screenshot 2022-11-07 184508.png
          40 kB
        11. Screenshot 2022-11-07 184550.png
          Screenshot 2022-11-07 184550.png
          29 kB
        12. Screenshot 2022-11-07 184616.png
          Screenshot 2022-11-07 184616.png
          24 kB
        13. Screenshot 2022-11-07 184715.png
          Screenshot 2022-11-07 184715.png
          27 kB
        14. Screenshot 2022-11-07 184754.png
          Screenshot 2022-11-07 184754.png
          10 kB
        15. Screenshot 2022-11-15 103258.png
          Screenshot 2022-11-15 103258.png
          28 kB
        16. Screenshot 2022-11-15 103352.png
          Screenshot 2022-11-15 103352.png
          31 kB
        17. Screenshot 2022-11-15 103418.png
          Screenshot 2022-11-15 103418.png
          32 kB
        18. Screenshot 2022-11-15 103443.png
          Screenshot 2022-11-15 103443.png
          38 kB
        19. Screenshot 2022-11-15 103535.png
          Screenshot 2022-11-15 103535.png
          40 kB
        20. Screenshot 2022-11-15 103630.png
          Screenshot 2022-11-15 103630.png
          66 kB
        21. Screenshot 2022-11-15 103851.png
          Screenshot 2022-11-15 103851.png
          52 kB
        22. Screenshot 2022-11-15 103911.png
          Screenshot 2022-11-15 103911.png
          29 kB
        23. Screenshot 2022-11-15 104023.png
          Screenshot 2022-11-15 104023.png
          30 kB
        24. Screenshot 2022-11-15 104051.png
          Screenshot 2022-11-15 104051.png
          23 kB
        25. Screenshot 2022-11-15 104238.png
          Screenshot 2022-11-15 104238.png
          30 kB
        26. Screenshot 2022-11-15 104310.png
          Screenshot 2022-11-15 104310.png
          46 kB
        27. Screenshot 2022-11-15 104326.png
          Screenshot 2022-11-15 104326.png
          349 kB
        28. Screenshot 2022-11-15 104358.png
          Screenshot 2022-11-15 104358.png
          66 kB
        29. Screenshot 2022-11-15 104426.png
          Screenshot 2022-11-15 104426.png
          6 kB
        30. Screenshot 2022-11-15 104525.png
          Screenshot 2022-11-15 104525.png
          31 kB
        31. Screenshot 2022-11-15 104656.png
          Screenshot 2022-11-15 104656.png
          72 kB

        Issue Links



              tamar Tamar Elikishvili
              0 Vote for this issue
              2 Start watching this issue




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