-
Functional Test
-
Minor
-
Moodle 4.4
-
None
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!
Setup
- As admin, visit Site administration > Plugins > Text editors > Manage editors and make "Atto HTML editor" the default editor by moving it up to the first position.
Test drag and drop of one image
- Go to anywhere in Moodle that supports Atto with a filepicker (e.g. start writing a forum post).
- Drag in an image file.
- Verify that you see the progress indicator while the file uploads, and then the image appears.
- Click the View source button ( <> ).
- Verify that the image has a URL including 'draftfile.php'.
- Save changes and verify that the image is correctly displayed.
- Try other places that use editors, such as "course summary", "label" activity".
- Verify it works as expected and the images are displayed correctly on the page.
Test drag and drop of multiple images
- Select several image files on your computer, and drag them into the Atto editor.
- Verify that you see multiple progress spinners, one for each image, and then all the images appear.
- Select some image files, and some non-image files on your computer, and drag them into the editor.
- Verify that the images get uploaded, and the other files get ignored.
Test pasting images
- 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.
- Paste into the Atto editor.
- Verify that you see the progress indicator while the file uploads, and then the image appears.
- Click the View source button ( <> ).
- Verify that the image has a URL including 'draftfile.php'.
- Save changes and verify that the image is correctly displayed.
QA-6687 - Images can be edited by double clicking it
- Click on the Insert image icon.
- Browse for and upload an image and insert it with 'This image is decorative only'.
- Double-click the image in the ATTO editor.
- Verify that the image properties window displays and add an image description.
- If you are using forum, save and post to the forum (or whatever page you are using to test)
- Click to edit your post and double-click the image again.
- Verify that the image properties window displays, and change it back to 'decorative only'.
- Save your edited post.
- is a QA test written for
-
MDL-47750 Make pasting images into the Atto HTML editor work (as much as browsers will let us)
- Closed