Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18205

CLONE - Upcoming events block show upcoming events depending on calendar_lookahead

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 4.3
    • Moodle 4.3
    • Calendar

      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 "Go to calendar..."
      4. 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"
      5. Navigate to User Menu > Preferences > Calendar preferences and check "Upcoming events look-ahead" is set to 3 weeks.
      6. Verify that no event is displayed in the "Upcoming events block".
      7. Navigate to User Menu > Preferences > Calendar preferences and change the setting "Upcoming events look-ahead" from 3 weeks to 1 months.
      8. Verify that the event "3 wk test" is displayed in the "Upcoming events block" but not the other two.
      9. Navigate to User Menu > Preferences > Calendar preferences and change the setting "Upcoming events look-ahead" from 1 month to 4 months.
      10. Return to the course and verify that the event "3 wk test" and "2 mo test" appears in the "Upcoming events block".
      11. Navigate to User Menu > Preferences > Calendar preferences and change the setting "Upcoming events look-ahead"" from 4 months to 9 months.
      12. Return to the course and verify that the event "6 mo test" now appears in addition to the other two.
      13. Go to calendar and click "Import or export calendars", then press the "Export calendar" button.
      14. Select "All events" and "Custom range" options and click export.
      15. Make sure expected events get exported in file.

        1. step01to02.png
          29 kB
          Adriano Ruseler
        2. step03.png
          33 kB
          Adriano Ruseler
        3. step04a.png
          48 kB
          Adriano Ruseler
        4. step04b.png
          40 kB
          Adriano Ruseler
        5. step04c.png
          32 kB
          Adriano Ruseler
        6. step05.png
          28 kB
          Adriano Ruseler
        7. step06.png
          29 kB
          Adriano Ruseler
        8. step07.png
          27 kB
          Adriano Ruseler
        9. step08.png
          30 kB
          Adriano Ruseler
        10. step09.png
          28 kB
          Adriano Ruseler
        11. step10.png
          32 kB
          Adriano Ruseler
        12. step11.png
          28 kB
          Adriano Ruseler
        13. step12.png
          35 kB
          Adriano Ruseler
        14. step13a.png
          37 kB
          Adriano Ruseler
        15. step13b.png
          19 kB
          Adriano Ruseler
        16. step14.png
          35 kB
          Adriano Ruseler
        17. step15.png
          83 kB
          Adriano Ruseler

            ruseler Adriano Ruseler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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