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

Behat test to confirm that a teacher can allow students to retake a lesson activity (Automate MDLQA-78)

XMLWordPrintable

      QA test to be automated: MDLQA-78

      Testing instructions

      This test requires a lesson activity containing more than one question.

      1. Log in as a teacher, update the lesson activity and set the maximum grade to 100, 'Student can re-take' to Yes and 'Handling of re-takes' to 'Use mean'.
      2. Log in as a student and attempt the activity twice.
      3. Check that the grade for the activity is the mean of the two attempts.
      4. Log in as the teacher, update the lesson activity and change 'Handling of re-takes' to 'Use maximum'.
      5. Log in as the student and check that grade shown in the gradebook is the maximum of the two attempts.
      6. Log in as the teacher, update the lesson activity and set 'Student can re-take' to No.
      7. Log in as the student, access the lesson activity and check that the message 'You are not allowed to retake this lesson.' is displayed.

            andelacruz Angelia Dela Cruz
            andelacruz Angelia Dela Cruz
            Simey Lameze Simey Lameze
            Huong Nguyen Huong Nguyen
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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