-
Functional Test
-
Minor
-
Moodle 3.10
-
None
- Log in as a teacher and create an assignment with file submissions enabled.
- As a student, submit a multi-page file (of a format that can be converted to PDF).
- As a teacher, annotate the submission with several comments on different pages.
- Make sure the comments collapse to a marker icon after being added.
- Make sure comments are expanded briefly on mouseover (as long as the 'Comments' or 'Select' tool is selected) and collapse again on mouseout.
- Make sure comments are expanded on click (with any tool selected) for as long as they are being edited.
- Make sure comments collapse again on losing focus after being edited.
- Click the 'Expand/collapse all comments' button and make sure all comments are expanded, and stay expanded.
- Click the 'Expand/collapse all comments' button again and make sure all comments collapse again.
- Check that tabbing between comments still works, and that the each comment expands on focus.
- Add a few annotations of other types and save the changes.
- Release the feedback.
- Log in as a student and view the annotated PDF using the online viewer.
- Make sure all comments are collapsed to a marker icon when the viewer loads.
- Make sure comments are expanded briefly on mouseover and collapse again on mouseout.
- Make sure comments are expanded on click for as long as they have focus.
- Make sure comments collapse again on losing focus.
- Click the 'Expand/collapse all comments' button and make sure all comments are expanded, and stay expanded.
- Click the 'Expand/collapse all comments' button again and make sure all comments collapse again.
- Check that tabbing between comments still works, and that the each comment expands on focus.
- Check that the 'Search comments' function works as expected, and that comments are expanded and focused when selected.
- Download the annotated PDF and open it offline.
- Make sure all comments are represented by markers containing an index in the format:
{pagenumber}.{commentnumber}
- Make sure all the comments have been appended to the end of the document in full, along with their correct indices.
- Check that the markers link to the correct comments and vice-versa.
- is a QA test written for
-
MDL-55459 Make annotated PDF comments collapsible
- Closed