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

CLONE - As an admin I want to control which file extensions are supported by content bank



    • Functional Test
    • Status: Passed
    • Minor
    • Moodle 4.1
    • Moodle 4.1
    • Content bank, H5P
    • None


      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 an admin go to "Content bank"  (link is in the More option in the secondary navigation).
      2. Confirm there is an Upload button on the right side of the page.
      3. Click on Upload button.
      4. Try to upload an image file and Save changes.
      5. Confirm there is an error: "Image (JPEG) filetype cannot be accepted".
      6. Click on Cancel.
      7. Confirm no element has been created for 'image.jpg'.
      8. Go to Site administration > Plugins > Content bank > Manage content bank content types.
      9. Click on "Enable" icon for H5P content bank.
      10. Go to "Content bank" (link is in the More option in the secondary navigation).
      11. Confirm there is no 'Upload' button.


        1. Screenshot from 2022-10-31 10-42-48.png
          47 kB
          Chen Levy
        2. Screenshot from 2022-10-31 10-43-29.png
          68 kB
          Chen Levy
        3. Screenshot from 2022-10-31 10-43-43.png
          78 kB
          Chen Levy
        4. Screenshot from 2022-10-31 10-44-09.png
          49 kB
          Chen Levy
        5. Screenshot from 2022-10-31 10-44-50.png
          57 kB
          Chen Levy
        6. Screenshot from 2022-10-31 10-45-35.png
          56 kB
          Chen Levy
        7. Screenshot from 2022-10-31 10-45-44.png
          44 kB
          Chen Levy

        Issue Links



              chenlevy Chen Levy
              0 Vote for this issue
              0 Start watching this issue