Moodle QA
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-509

A teacher can prevent students from accessing an activity between specified dates

    Details

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

      Description

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

      1. Login as a teacher, access an activity and edit the settings.
      2. Tick the checkbox to enable an accessible from date and set a date in the future.
      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 activity is shown greyed-out with the accessible from date specified.
      5. Login as the teacher again, access a different activity and edit the settings.
      6. Tick the checkbox to enable an accessible until date and set a date in the past.
      7. Select 'Hide activity entirely' for 'Before activity is available'.
      8. Login as a student, view the course page and check that the activity does not appear.

        Issue Links

          Activity

          Anonymous created issue -
          Chad Outten made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Passed [ 10000 ]
          Assignee Nobody [ nobody ] Chad Outten [ chadsta ]
          Helen Foster made changes -
          Resolution Fixed [ 1 ]
          Status Passed [ 10000 ] Open [ 1 ]
          Assignee Chad Outten [ chadsta ] Nobody [ nobody ]
          David Monllaó made changes -
          Priority Blocker [ 1 ]
          David Monllaó made changes -
          Link This issue will be (partly) resolved by MDL-42282 [ MDL-42282 ]
          Dan Poltawski made changes -
          Parent Issue MDLQA-1 [ MDLQA-1 ] MDLQA-5249 [ MDLQA-5249 ]

            People

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

              Dates

              • Created:
                Updated: