Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-19836 Moodle 5.0 QA
  3. MDLQA-20252

CLONE - Late submission grade penalties exploratory testing

XMLWordPrintable

      This is an exploratory test of a new feature or improvement, so please feel free to try anything you like and not just the test steps!

      Setup

      • Go to "Site administration > Grades > Grade penalties > Manage penalty plugins" and enable the 'Late submission penalties' plugin
      • Go to "Site administration > Grades > Grade penalties > Manage supported activities"
      • Select "Assignment" in the enabled activities and save.
      • Go to "Grades > Grade penalties > Late submission penalties > Penalty rules" and create some penalty rules.

      Testing: Penalty implementation on an assignment

      1. Create a test course and enroll a student.
      2. Create an assignment in the course:
        • Set due date to "Yesterday" / a date in the past
        • Submission types: File submissions
        • Make sure grade type is set to point
        • Enable "Grade penalties" under "Grade" section
      3. Login as the student and add an submission
      4. Log in as an teacher to mark the submission
        • Verify the grade in grade book is deducted according to the penalty rules
        • Verify in the submission list the grade is original assignment grade (without penalty), the final grade (gradebook grade) is the one with penalty

      Testing: Penalty recalculation

      1. Go to the assignment created on previous test
      2. Go to "Grade penalties" on Assignment navigation bar
      3. Change penalty rules
      4. Then click on "Recalculate penalties" button
      5. Wait or run cron job so that "recalculate_penalties" adhoc task can be run:
      6. Verify that the final grade of the student should be recalculated according to the new rules

      Testing: Penalty indicator

      1. Go to the test course, ensure "edit mode" is disabled.
      2. Go to "Grade > Grader report" and verify that there is a red triangle icon, with a tooltip showing the penalty.
      3. Go to "Grade > User report" and select the testing user.
        • Verify that there is a red triangle icon, with a tooltip showing the penalty

      Testing: Penalty is not applied to an overridden mark

      1. Go to "Grade > Grader report" in the test course and turn "Editing mode" on.
      2. Change the grade of the testing assignment grade item
      3. Save changes and verify that the newly added grade is not subtracted by the set penalized amount
      4. Turn off "Editing mode" and verify the grade remains the same (not penalized) and the is no longer a penalty indicator

      Testing the notification

      1. In the test course navigate to Grades > Import.
      2. Verify the notification "Grade penalties will not be applied to imported grades." is displayed on the various import pages.
      3. Disable all penalty plugins.
      4. Verify the notification no longer appears.

      Testing Import

      1. Create a course, add an assignment and enrol some students.
      2. Grade the student.
        • Grade export will include the raw mark and final mark. The final mark includes any penalties.
      3. Navigate to the course > Grades > Export and export the grades for the assignment as "Plain text" file.
      4. Delete the recent grades from the mdl_grade_grades table.
      5. Verify the grades are gone (Grades > Grader report and/or assignment > Submissions).
      6. Set the assignment due date to some point in the past and configure penalty rules if not already done.
      7. Import the grades,
        • Map from > Email address.
        • Map to > Email address.
        • [assignment] (Real) > Grade items > [assignment]
      8. Verify the grades have been restored, and no additional penalties have been applied.

        1. MDLQA-20252_1.png
          MDLQA-20252_1.png
          87 kB
        2. MDLQA-20252_2.png
          MDLQA-20252_2.png
          90 kB
        3. MDLQA-20252_3.png
          MDLQA-20252_3.png
          59 kB
        4. MDLQA-20252_4.png
          MDLQA-20252_4.png
          165 kB
        5. MDLQA-20252_5.png
          MDLQA-20252_5.png
          96 kB
        6. MDLQA-20252_6.png
          MDLQA-20252_6.png
          137 kB
        7. MDLQA-20252_7.png
          MDLQA-20252_7.png
          75 kB
        8. MDLQA-20252_layout_bug.png
          MDLQA-20252_layout_bug.png
          46 kB
        9. MDLQA-20252_test1_1.png
          MDLQA-20252_test1_1.png
          49 kB
        10. MDLQA-20252_test1_2.png
          MDLQA-20252_test1_2.png
          95 kB
        11. MDLQA-20252_test1_3.png
          MDLQA-20252_test1_3.png
          44 kB
        12. MDLQA-20252_test2_1.png
          MDLQA-20252_test2_1.png
          95 kB
        13. MDLQA-20252_test2_2.png
          MDLQA-20252_test2_2.png
          44 kB
        14. MDLQA-20252_test3_1.png
          MDLQA-20252_test3_1.png
          51 kB
        15. MDLQA-20252_test4_1.png
          MDLQA-20252_test4_1.png
          45 kB
        16. MDLQA-20252_test4_2.png
          MDLQA-20252_test4_2.png
          44 kB
        17. MDLQA-20252_test5_1A.png
          MDLQA-20252_test5_1A.png
          42 kB
        18. MDLQA-20252_test5_1B.png
          MDLQA-20252_test5_1B.png
          40 kB
        19. MDLQA-20252_test5_1C.png
          MDLQA-20252_test5_1C.png
          39 kB
        20. MDLQA-20252_test5_2.png
          MDLQA-20252_test5_2.png
          40 kB
        21. MDLQA-20252_test6_1A.png
          MDLQA-20252_test6_1A.png
          51 kB
        22. MDLQA-20252_test6_1B.png
          MDLQA-20252_test6_1B.png
          89 kB
        23. MDLQA-20252_test6_2A.png
          MDLQA-20252_test6_2A.png
          53 kB
        24. MDLQA-20252_test6_2B.png
          MDLQA-20252_test6_2B.png
          97 kB

            Geshoski Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.