Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16367

CLONE - A user can import a calendar



    • Functional Test
    • Status: Passed
    • Critical
    • Moodle 4.0
    • Moodle 4.0
    • Calendar, Student


      Tip: A calendar URL and file (.ics) for use in this test may be obtained from https://moodle.org/calendar/export.php

      Import from calendar URL
      1. Log in as a student and go to the calendar.
      2. Click the link 'Import or export calendars'.
      3. Try importing a calendar by filling in a name e.g. 'Calendar A' and calendar URL, then clicking the 'Import calendar' button.
      4. Check that Calendar A is listed as a calendar subscription.
      5. Go to your calendar and check that the appropriate user events have been added.
      6. Add a user event in your moodle.org calendar
      7. Back in your moodle site's "Import or export calendars" page, change the refresh interval (e.g. from Weekly to Daily)
      8. Confirm that you see a notification that the calendar subscription has been updated.
      9. Confirm the event that you added to moodle.org is also now available in your calendar.
      10. Go to the 'Import or export calendars' page again and click the 'Delete' link opposite Calendar A.
      11. Go to your calendar again and check that the events have been removed.
      Import from file
      1. Repeat steps #2 to #5 above with a .ics file and with 'Calendar B' as calendar name.
      2. Try editing an event and check that a warning is displayed about changes being lost if the subscription is deleted. Check that your edit is correctly saved.
      3. Go to the Manage subscriptions page again and click the 'Delete' link opposite Calendar B.
      4. Go to your calendar again and check that all events, including the edited event, have been removed.

      Note: This test may be repeated selecting this week, this month, recent and next 60 days as export options for the calendar URL and then checking whether appropriate events are added to the calendar.




            dag Dag Klimas
            0 Vote for this issue
            1 Start watching this issue