Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-15457 Moodle 3.11 QA
  3. MDLQA-15742

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

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 3.11
    • Moodle 3.11
    • 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 > Label 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 > label 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. Screenshot from 2021-04-19 10-34-01.png
          53 kB
          Chen Levy
        2. Screenshot from 2021-04-19 10-40-45.png
          385 kB
          Chen Levy
        3. Screenshot from 2021-04-19 10-41-09.png
          979 kB
          Chen Levy
        4. Screenshot from 2021-04-19 10-41-49.png
          201 kB
          Chen Levy
        5. Screenshot from 2021-04-19 10-42-13.png
          104 kB
          Chen Levy
        6. Screenshot from 2021-04-19 10-45-33.png
          371 kB
          Chen Levy

            chenlevy Chen Levy
            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.