Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-15457 Moodle 3.11 QA
  3. MDLQA-15847

CLONE - Upcoming events block show upcoming events depending on calendar_lookahead

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 3.11
    • Moodle 3.11
    • Calendar
    • None

      This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      1. Log in 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.

        1. image-2021-04-27-12-22-32-735.png
          7 kB
          Luiggi Sansonetti
        2. image-2021-04-27-12-23-01-657.png
          12 kB
          Luiggi Sansonetti
        3. image-2021-04-27-12-28-12-840.png
          4 kB
          Luiggi Sansonetti
        4. image-2021-04-27-12-29-03-902.png
          5 kB
          Luiggi Sansonetti
        5. image-2021-04-27-12-29-40-294.png
          7 kB
          Luiggi Sansonetti
        6. image-2021-04-27-12-30-13-480.png
          9 kB
          Luiggi Sansonetti
        7. image-2021-04-27-12-32-07-628.png
          10 kB
          Luiggi Sansonetti
        8. image-2021-04-27-12-32-23-511.png
          30 kB
          Luiggi Sansonetti

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

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.