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

A teacher can set grade conditions to restrict availability of a section

    XMLWordPrintable

Details

    Description

      Test Pre-requisites:
      -> This test requires conditional access to be enabled by an administrator in Site administration > Advanced features.
      Test Steps:
      1. Login as a teacher and create an online text assignment.
      2. Create a page resource in a section.
      3. Edit the section with the page resource and set the grade condition of the online text assignment being at least 20%.
      4. Select 'Show section greyed-out, with restriction information' for 'Before section can be accessed'.
      5. Login as a student, view the course page and check that the page resource is shown greyed-out with the grade condition specified.
      6. Attempt the online text assignment.
      7. Login as the teacher and give the student's online text submission at least 20%.
      8. Login as the student, view the course page and check that page resource is now available.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Clockify

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