Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-14728

A user can drag and drop or paste images into the Atto text editor

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Minor
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Component/s: HTML Editor, User
    • Labels:
      None

      Description

      Please test in more than one browser and mention in a comment which ones you've used, and your Operating System (OS).

      The more browser and OS combinations we can test with, the better, so anyone feel free to try this test even if you're not the assignee!

      Test drag and drop of one image

      1. Go to anywhere in Moodle that supports Atto with a filepicker (e.g. start writing a forum post).
      2. Drag in an image file.
      3. Verify that you see the progress indicator while the file uploads, and then the image appears.
      4. Click the View source button ( <> ).
      5. Verify that the image has a URL including 'draftfile.php'.
      6. Save changes and verify that the image is correctly displayed.

      Test drag and drop of multiple images

      1. Select several image files on your computer, and drag them into the Atto editor.
      2. Verify that you see multiple progress spinners, one for each image, and then all the images appear.
      3. Select some image files, and some non-image files on your computer, and drag them into the editor.
      4. Verify that the images get uploaded, and the other files get ignored.

      Test pasting images

      1. Open the image in some program where you can copy it. E.g. open it in a photo viewer, and copy the image to the clipboard, or take a screen-grab onto the clipboard.
      2. Paste into the Atto editor.
      3. Verify that you see the progress indicator while the file uploads, and then the image appears.
      4. Click the View source button ( <> ).
      5. Verify that the image has a URL including 'draftfile.php'.
      6. Save changes and verify that the image is correctly displayed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: