Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-510

A teacher can set grade conditions to restrict availability of an activity

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Blocker
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Labels:
      None

      Description

      This test requires conditional access to be enabled by an administrator in Site administration > Advanced features.

      1. Login as a teacher and create an online text assignment.
      2. Create a page resource with a grade condition of the online text assignment being at least 20%.
      3. Select 'Show activity greyed-out, with restriction information' for 'Before activity is available'.
      4. Login as a student, view the course page and check that the page resource is shown greyed-out with the grade condition specified.
      5. Attempt the online text assignment.
      6. Login as the teacher and give the student's online text submission at least 20%.
      7. Login as the student, view the course page and check that page resource is now available.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nobody Nobody
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: