Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14813 Moodle 3.10 QA
  3. MDLQA-15441

CLONE - An admin can create a copy of a course

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 3.10
    • Moodle 3.10
    • Backup
    • None

      Test requirements:

      • Admin access
      • 'Enable asynchronous backups' (enableasyncbackup) and 'Enable message notifications' enabled in the site administration
      • A course containing activities, resources and users with user data such as forum posts or assignment submissions

      If you would like to use the QA testing site for running the test, 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 an admin and go to assign system roles (Site admin / Users / Assign system roles).
      2. Assign a user as the manager role at the site. (You can skip this step if you already have a manager account.)
      3. Log out and log back in as the manager user.
      4. Go to Preferences -> edit preferences and make sure all options are set to 'On' for "Asynchronous backup/restore notifications". By default, emails when online are disabled.
      5. Go to a course.
      6. Select 'Copy course' from the Actions menu.
      7. Enter a course full name and short name then click the button 'Copy and view'.
      8. Verify that course being copied is listed as source course and that the current operation goes from backup to restore to complete. (This will take a few minutes.)
      9. Verify that you receive a message that the backup and restore is complete.
      10. Click the link for the course copy and verify that a correct copy has been made.
      11. Repeat steps 5 - 9, entering different values for the course category, visibility, course start date and end date, and ID number, each time verifying that the copy is correct.
      12. Try clicking the button 'Copy and return' and verify that you are returned to the course being copied.
      13. Repeat steps 5 - 9, enabling 'Keep user data' and at least one role, and verifying that the course copy contains user data for users with the selected role.
      14. Repeat steps 5 - 9, selecting one or more roles for 'Keep enrolments of role' and verifying that users with the role(s) selected are enrolled in the course copy.
      15. Go to Site administration / Courses / Manage courses and categories.
      16. Try copying a course by clicking the copy course icon next to it.
      17. Verify that the copy course form opens in a modal window.
      18. Enter a course full name and short name then click the button 'Copy and view'.
      19. Verify that you receive a message that the backup and restore is complete.
      20. Verify that a correct copy has been made.
      21. Try copying a different course and this time click the button 'Copy and return'.
      22. Verify that you are returned to the Course and category management page.

        1. MDLQA-15441-setup.png
          MDLQA-15441-setup.png
          1.86 MB
        2. MDLQA-15441-step10.png
          MDLQA-15441-step10.png
          1.23 MB
        3. MDLQA-15441-step11.png
          MDLQA-15441-step11.png
          1.19 MB
        4. MDLQA-15441-step11-b.png
          MDLQA-15441-step11-b.png
          1.37 MB
        5. MDLQA-15441-step12.png
          MDLQA-15441-step12.png
          1.10 MB
        6. MDLQA-15441-step13.png
          MDLQA-15441-step13.png
          1.18 MB
        7. MDLQA-15441-step13a.png
          MDLQA-15441-step13a.png
          1.24 MB
        8. MDLQA-15441-step13b.png
          MDLQA-15441-step13b.png
          1.23 MB
        9. MDLQA-15441-step13c.png
          MDLQA-15441-step13c.png
          1.25 MB
        10. MDLQA-15441-step14.png
          MDLQA-15441-step14.png
          1.19 MB
        11. MDLQA-15441-step14b.png
          MDLQA-15441-step14b.png
          1.20 MB
        12. MDLQA-15441-step17.png
          MDLQA-15441-step17.png
          1.21 MB
        13. MDLQA-15441-step18.png
          MDLQA-15441-step18.png
          1.36 MB
        14. MDLQA-15441-step20.png
          MDLQA-15441-step20.png
          1.26 MB
        15. MDLQA-15441-step21.png
          MDLQA-15441-step21.png
          1.24 MB
        16. MDLQA-15441-step22.png
          MDLQA-15441-step22.png
          1.23 MB
        17. MDLQA-15441-step8.png
          MDLQA-15441-step8.png
          1.35 MB
        18. MDLQA-15441-step8-cron.png
          MDLQA-15441-step8-cron.png
          1.09 MB
        19. MDLQA-15441-step9.png
          MDLQA-15441-step9.png
          1.34 MB

            dobedobedoh Andrew Lyons
            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.