-
Functional Test
-
Minor
-
Moodle 4.3
-
None
This test requires a course with a News forum and an assignment with online text selected, and a teacher and student enrolled in the course. You can use the "Activity Examples" course in the QA testing site http://qa.moodle.net/ if desired.
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.
Testing
- Log in to the course as a teacher and access the News forum.
- Begin to type a post. Type a few words and then stop. Wait for a minute, watching the bottom left corner of your text box.
- Verify you see the message "Draft saved"
- Close the screen to exit Moodle completely and then go back in again.
- Access the News forum and verify the text is there with the message "A draft version of this text was automatically restored"
- Add more text; post to the forum and verify it has correctly saved.
- Log in as a student and access the online text type assignment
- Click the Add submission button and type a few words and then stop.
- Wait for a minute, watching the bottom left corner of the text box.
- Verify you see the message "Draft saved"
- Leave the page, ignoring the warning, and then go back to it again.
- Access the assignment and verify the text is there with the message "A draft version of this text was automatically restored"
- Click Save changes to submit your assignment and verify it has correctly saved.