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

CLONE - A teacher can drag and drop an image onto a course page

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 4.4
    • Moodle 4.4
    • Course, Teacher
    • None

      Note: This test must be carried out with a browser supporting drag and drop (Chrome, Firefox, Safari, Edge)

      1. As administrator, visit Settings > Site admin > Plugins > Activity modules > Text And Media and verify the box 'media drag and drop' setting is ticked.
      2. Make a note of the max width and height for dragged and dropped images (default 400).
      3. As a teacher in a course with the editing turned on, drag an image (.jpg/.png/.gif/.svg) onto the course page. using an image larger than the max dimensions set.
      4. Verify that you are asked whether you want to add the image to the course page or create a file resource. Choose "add media to course page".
      5. Verify that the image appears embedded in a label.
      6. Refresh the page and ensure the image is still embedded.
      7. Verify the image has been resized to the max dimensions checked in step 2.
      8. Using the label edit icons, verify that the image can be moved, hidden, modified and deleted.
      9. As admin, visit Settings > Site admin > plugins > activity modules > Text And Media and disable (remove the tick from) the 'media drag and drop' setting.
      10. Drag and drop another image.
      11. Verify that this time the image is uploaded immediately as a resource with no offer to add to the course page.
      12. Repeat the test with other browsers supporting drag and drop.

        1. MDLQA-18614 - Chrome - Step 11 - Resource.png
          279 kB
          Carlos Escobedo
        2. MDLQA-18614 - Chrome - Step 4 - Add or create.png
          52 kB
          Carlos Escobedo
        3. MDLQA-18614 - Chrome - Step 7 - Resize.png
          208 kB
          Carlos Escobedo
        4. MDLQA-18614 - Chrome - Step 8 - Actions.png
          245 kB
          Carlos Escobedo
        5. MDLQA-18614 - Edge - Step 11 - Resource.png
          134 kB
          Carlos Escobedo
        6. MDLQA-18614 - Edge - Step 4 - Add or create.png
          188 kB
          Carlos Escobedo
        7. MDLQA-18614 - Edge - Step 7 - Resize.png
          247 kB
          Carlos Escobedo
        8. MDLQA-18614 - Edge - Step 8 - Actions.png
          172 kB
          Carlos Escobedo
        9. MDLQA-18614 - Firefox - Step 11 - Resource.png
          246 kB
          Carlos Escobedo
        10. MDLQA-18614 - Firefox - Step 4 - Add or create.png
          156 kB
          Carlos Escobedo
        11. MDLQA-18614 - Firefox - Step 5 - Image at text and media.png
          237 kB
          Carlos Escobedo
        12. MDLQA-18614 - Firefox - Step 7 - Resize.png
          177 kB
          Carlos Escobedo
        13. MDLQA-18614 - Firefox - Step 8 - Actions.png
          245 kB
          Carlos Escobedo
        14. MDLQA-18614 - Safari - Step 11 - Resource.png
          282 kB
          Carlos Escobedo
        15. MDLQA-18614 - Safari - Step 4 - Add or create.png
          83 kB
          Carlos Escobedo
        16. MDLQA-18614 - Safari - Step 7 - Resize.png
          207 kB
          Carlos Escobedo
        17. MDLQA-18614 - Safari - Step 8 - Actions.png
          284 kB
          Carlos Escobedo

            cescobedo Carlos Escobedo
            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.