Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-73639

Write behat tests for MDL-62188 testing instructions: Recover Grades default setting not obeyed

XMLWordPrintable

      Testing instructions to cover by behat:

      Setup

      1. Login as admin.
      2. Go to "Site administration | Grades | General settings" and make sure the "Recover grades default" is unchecked.
      3. Create a course
      4. Go to the Participants page and enrol at two users (user1 and user2).
      5. Add an assignment to the course.
      6. Go to the assignment's grading table and enable quick grading.
      7. Give grades to user 1 and 2
      8. Click "Grades" on the nav panel to go to the Gradebook.
      9. Confirm that user1's and user2's assignments have been graded.

      Testing scenario 1

      1. Login as admin.
      2. Access to the Participants page of the course.
      3. Unenrol the user1 from the course.
      4. Enrol again the user1. During the enrolment click over the "Show more" link and:
      5. Confirm that "Recover user's old grades if possible" is unchecked
      6. Go to the Gradebook.
      7. Confirm that user1's assignment doesn't have a grade.

      Testing scenario 2

      1. Gi to "Site administration | Grades | General settings" and enable the "Recover grades default" setting.
      2. Access to the Participants page of the course.
      3. Unenrol the user2 from the course.
      4. Enrol again the user2. During the enrolment click over the "Show more" link and:
      5. Confirm that "Recover user's old grades if possible" is already checked
      6. Go to the Gradebook
      7. Confirm that user2's assignment has a grade and is the same as the previously given grade.
      8. Go back to the Participants page of the course.
      9. Unenrol the user2 from the course.
      10. Enrol user2 again. During the enrolment click "Show more" link and uncheck the Recover grades checkbox.
      11. Go to the Gradebook
      12. Confirm that user2's assignment doesn't have a grade.

            andelacruz Angelia Dela Cruz
            amaia Amaia Anabitarte
            Mathew May Mathew May
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 28 minutes
                1d 3h 28m

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