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

Teachers can add files to gradebook feedbacks

    XMLWordPrintable

Details

    • Functional Test
    • Status: Open
    • Minor
    • Original - DO NOT REPORT TEST RESULTS HERE
    • None
    • Grades

    Description

      This test requires access to your web server configuration, the tester PC must have camera and microphone. An audio and video files on your computer will also be necessary.

      Please test this using firefox browser.

      Please note - the single view report will show '@@PLUGINFILE@@', this will be dealt with in MDL-63489.

      Prerequisite.

      1. A course with a user enrolled as a student.
      2. A course with a user enrolled as a teacher.
      3. An assignment with default settings.
      4. A computer that has a camera and a microphone.
      5. A server set-up to allow you to upload enough data to upload the audio file, video file and make some recordings. This may require you updating your settings in php.ini, eg.

        ; Maximum allowed size for uploaded files.
        upload_max_filesize = 40M
         
        ; Must be greater than or equal to upload_max_filesize
        post_max_size = 40M
        

        Once changed you will need to restart your web server.

      1. Use Firefox.

      Test 1

      1. Log in as a teacher.
      2. Click on the assignment.
      3. Click the 'Grade' button.
      4. Add a video recording to the feedback.
      5. Add an audio recording to the feedback.
      6. Add an image.
      7. Upload the audio file.
      8. Upload the video file.
      9. Click on 'Save changes'.
      10. Click on the name of the assignment at the top.
      11. Click on the 'Grade' button.
      12. Confirm the feedback loads with the data you had entered previously.

      Test 2

      Requires Test 1 to be done

      1. Log in as the student.
      2. Visit the course.
      3. Click on the assignment.
      4. Scroll down to the 'Feedback' area.
      5. Confirm you can see the media that was attached.
      6. Visit the course.
      7. Click on 'Grades'.
      8. Confirm you can see the media that was attached in the 'User report'.

      Test 3

      1. Create another assignment in the course with the setting 'Comment inline' set to 'Yes' AND 'Online text' submission checked.
      2. Log in as the student.
      3. Make a submission with some media files in the 'Online text' submission area and some text.
      4. Log in as the teacher.
      5. Click on the assignment.
      6. Click the 'Grade' button.
      7. Confirm the media is copied into the feedback area.
      8. Edit the feedback by changing the media and text.
      9. Log in as the student.
      10. View the assignment
      11. Confirm you see the media and the altered data in your feedback.

      Test 4

      1. Create a new course.
      2. Enrol the student from the course in Test 3.
      3. Backup the assignment from Test 3 with default settings.
      4. Restore it into the new course you created.
      5. Click on the assignment.
      6. Click on 'Grade'.
      7. Confirm the media displays as expected (the same as the assignment in Test 3).

      Test 5

      1. Backup the course from Test 3.
      2. Restore as a new course.
      3. Visit the gradebook.
      4. Go to the user report.
      5. View the report for the user you graded.
      6. Confirm the files are shown in the feedback area.

      Test 6

      1. Backup the course from Test 3 and choose to backup 'Grade history'.
      2. Restore as a new course.
      3. Visit the gradebook.
      4. Go to the history report.
      5. View the report for the user you graded.
      6. Confirm the files are shown

      Test 7

      1. Go to the course you made in test 3.
      2. Edit the feedback (add a new image, make a new comment, delete an image etc) and save. Do this multiple times.
      3. Visit the gradebook.
      4. Go to the grade history report.
      5. Confirm the history is correct and shows the changes and the media/files.
      6. View the other reports in the gradebook and confirm they work as expected.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: