-
Functional Test
-
Minor
-
Moodle 4.3
-
None
Please test using both themes, Boost and Classic, and in more than one browser, and mention in a comment which browsers you've used.
The more supported browsers we can test with, the better, so anyone feel free to try this test even if you're not the assignee!
Requirements
- 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.
- This test requires an image, an mp3 and an mp4 file with accompanying WebVTT files containing subtitles (such as the example files attached).
- VideoJS player should be enabled.
Testing
- Log in as a user and go to a forum.
- Click to add a new discussion and verify you see the Atto editor.
- Click the Insert image icon.
- Browse and upload an image from your computer.
- Change the size to 400x400 and try to save it.
- Verify you are warned you must either add a description or check the 'This image is decorative only' box.
- Check the 'This image is decorative only' box and click Insert image.
- Click Post to forum and verify that the image displays correctly.
- Click to reply to your post.
- Click the Insert Media icon.
- Click the "Audio" tab
- Browse and upload an mp3 file from your computer.
- Click Insert media.
- Click Post to forum and verify that the mp3 file displays correctly.
- Edit the forum post, click the mp3 file, then the media button, and experiment with changing the advanced settings.
Note: If you are not able to select the mp3 file by clicking, you might need to use the keyboard. In most browsers using Shift + Left/Right Arrow (same way as selecting text in the editor) works. Alternatively, dragging the mp3 file can work in some browsers. - Save changes and verify that the mp3 file displays as expected.
- Add another reply, this time using the Insert Media icon and clicking the "Video" tab
- Browse and upload an mp4 file from your computer.
- Click Post to forum and verify that the mp4 file displays correctly.
- Edit the forum post, click the mp4 file, then the media button, and experiment with changing the display options.
- Save changes and verify that the mp4 file displays as expected.
- Edit the forum post, click the mp4 file, then the media button, and experiment with changing the advanced settings.
- Save changes and verify that the mp4 file displays as expected.
- Edit the forum post, click the mp4 file, then the media button, then add the WebVTT files.
- Save changes and verify that subtitles are correctly displayed.