Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-9827 Moodle 3.2 QA
  3. MDLQA-10314

CLONE - Upcoming events block show upcoming events depending on calendar_lookahead

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Minor
    • Affects Version/s: Moodle 3.2
    • Fix Version/s: Moodle 3.2
    • Component/s: Administrator, Calendar
    • Labels:
      None

      Description

      NOTE: This requires an empty course and site admin access.

      1. Login as admin
      2. Enter a course and add the "Upcoming events" block
      3. Click on "new event" and add the following events:
        • A site wide event roughly 6 months (180 days) from today called "6 mo test"
        • A site wide event roughly 2 months (60 days) from today called "2 mo test"
        • A site wide event 3 weeks (21 days) from today called "3 wk test"
      4. Navigate to User Menu > Preferences > Calendar preferences and check "Upcoming events look-ahead" is set to 3 weeks.
      5. Verify that no event is displayed in the "Upcoming events block"
      6. Navigate to User Menu > Preferences > Calendar preferences and change the setting "Upcoming events look-ahead" from 3 weeks to 1 months..
      7. Verify that the event "3 wk test" is displayed in the "Upcoming events block" but not the other two
      8. Navigate to User Menu > Preferences > Calendar preferences and change the setting "Upcoming events look-ahead" from 1 month to 4 months.
      9. Return to the course and verify that the event "3 wk test" and "2 mo test" appears in the "Upcoming events block"
      10. Navigate to User Menu > Preferences > Calendar preferences and change the setting "Upcoming events look-ahead"" from 4 months to 9 months.
      11. Return to the course and verify that the event "6 mo test" now appears in addition to the other two
      12. Go to calendar and click "Export Calendar"
      13. Select "All events" and "Custom range" options and click export.
      14. Make sure expected events get exported in file.

        Attachments

        1. calendar-export-boost.png
          681 kB
          Stephen Bourget
        2. calendar-export-clean.png
          932 kB
          Stephen Bourget

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: