Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-11698 Moodle 3.5 QA testing
  3. MDLQA-12226

CLONE - Choices with various 'Allow responses from/until' dates display correctly in the course overview

    XMLWordPrintable

    Details

      Description

      This test requires a course with a teacher and student enrolled.

      1. Log in as a teacher and create five choice activities as follows:
        • Choice A (in the past) - enable 'Allow responses until' and set it to a date in the past (and optionally set 'Allow responses from' to a date in the past)
        • Choice B (in progress) - set 'Allow responses until' to a date in the future (and optionally set 'Allow responses from' to a date in the past)
        • Choice C (in progress) - set as for Choice B and also set 'Allow choice to be updated' to Yes
        • Choice D (in the future) - set 'Allow responses from' to a date in the future
        • Choice E (in the future) - set 'Allow responses from' to a date in the future and set 'Allow responses until' to a date further in the future
      2. Log in as a student and go to the course overview on the dashboard.
      3. Check that Choice A is not shown.
      4. Check that 'Choice B closes' and 'Choice C closes' are shown with dates as set for 'Allow responses until' and there are 'View choices' links going to the choice activities.
      5. Check that 'Choice D opens' is shown with the date as set for 'Allow responses from' and there is no 'View choices' link (only text in grey).
      6. Check that 'Choice E closes' is shown with the date as set for 'Allow responses until' and there is no 'View choices' link (only text in grey).
      7. Go to Choice B and submit a response.
      8. Check that Choice B is no longer shown in the course overview.
      9. Go to Choice C and submit a response.
      10. Check that Choice C is no longer shown in the course overview.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: