Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-8205 Moodle 3.0 QA
  3. MDLQA-8716

CLONE - Upcoming events block show upcoming events depending on calendar_lookahead

    XMLWordPrintable

Details

    • Functional Test
    • Status: Passed
    • Blocker
    • Moodle 3.0
    • Moodle 3.0
    • Calendar
    • None

    Description

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

      1. Enter a course and add the "Upcoming events" block
      2. 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"
      3. Verify that no event is displayed in the "Upcoming events block" (Default calendar_lookahead is 3 weeks)
      4. Navigate to Site Administration -> Appearance -> calendar and change the setting "calendar_lookahead" from 3 weeks to 1 months..
      5. Verify that the event "3 wk test" is displayed in the "Upcoming events block" but not the other two
      6. Navigate to Site Administration -> Appearance -> calendar and change the setting "calendar_lookahead" from 1 month to 4 months.
      7. Return to the course and verify that the event "3 wk test" and "2 mo test" appears in the "Upcoming events block"
      8. Navigate to Site Administration->Appearance->calendar and change the setting "calendar_lookahead" from 4 months to 9 months.
      9. Return to the course and verify that the event "6 mo test" now appears in addition to the other two
      10. Go to calendar and click "Export Calendar"
      11. Select "All events" and "Custom range" options and click export.
      12. Make sure expected events get exported in file.

      Attachments

        Activity

          People

            facedo Fernando Acedo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: