Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-13517 Moodle 3.8 QA
  3. MDLQA-14031

CLONE - Choices with various 'Allow responses from/until' appear correctly in the Timeline block

    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 Timeline block 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 and times as set for 'Allow responses until' and with links to the choice activities.
      5. Check that 'Choice D opens' is shown with the date and time as set for 'Allow responses from'.
      6. Check that 'Choice E closes' is shown with the date and time as set for 'Allow responses until'.
      7. Go to Choice B and submit a response.
      8. Check that Choice B is no longer shown in the Timeline block.
      9. Go to Choice C and submit a response.
      10. Check that Choice C is no longer shown in the Timeline block.

      Attachments

        1. image-2019-11-12-14-02-05-846.png
          43 kB
          Luiggi Sansonetti
        2. image-2019-11-12-14-03-52-003.png
          13 kB
          Luiggi Sansonetti
        3. image-2019-11-12-14-05-01-657.png
          9 kB
          Luiggi Sansonetti
        4. image-2019-11-12-14-05-50-322.png
          6 kB
          Luiggi Sansonetti
        5. image-2019-11-12-14-35-45-485.png
          29 kB
          Luiggi Sansonetti

        Issue Links

          Activity

            People

              lsansone Luiggi Sansonetti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: