Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-18924

Course subsection exploratory test: As teacher I can backup and restore courses with subsections

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • None
    • Original - DO NOT REPORT TEST RESULTS HERE
    • Course
    • None

      Prerequisites

      • Create a course with subsections and activities within the subsections.
      • Create a second, empty course.
      • Enrol a teacher on both courses.

      Testing instructions

      1. As a teacher go to the main course page then Course reuse page.
      2. Go to the backup link.
      3. Click the "Next" button to go to the second step of the process (selecting course structure elements).
      4. Confirm the subsections are shown in the correct position of the course structure and indented.
      5. Uncheck "Subsection general".
      6. Validate that both "Subsection general" and "Subsection content" checkboxes became disabled.
      7. Check again "Subsection general" and uncheck "Subsection content".
      8. Validate that only the checkboxes from "Subsection content" are now disabled.
      9. Check again "Subsection content". Now uncheck the user data on "Subsection general".
      10. Validate that the user data checkboxes from "Subsection content" and "Subsection content" are disabled.
      11. Check again the user data on "Subsection general" and uncheck the user data from "Subsection content".
      12. Validate the user data from "Subsection content" is disabled.
      13. Check again the user data from "Subsection content".
      14. Validate all subsection elements have the checkboxes enabled.
      15. Click "Next".
      16. Click "Perform backup" button.
      17. If needed, run the instance cron to execute the backup in background.
      18. Validate no errors appear.
      19. Click on the continue button once the backup is done.
      20. Validate the backup file in the course backup area.
      21. Download the backup file.
      22. Go to the Course reuse >  restore.
      23. Select the previous backup done and click on restore link.
      24. Click continue to go to the destination step.
      25. Select some category from the "Restore as a new course" and click on continue.
      26. Click the "Next" button to go to the Shcema step of the process.
      27. Confirm you can see the subsections without any error.
      28. Uncheck "Subsection general".
      29. Validate that both "Subsection general" and "Subsection content" checkboxes became disabled.
      30. Check again "Subsection general" and uncheck "Subsection content".
      31. Validate that only the checkboxes from "Subsection content" are now disabled.
      32. Check again "Subsection content". Now uncheck the user data on "Subsection general".
      33. Validate that the user data checkboxes from "Subsection general" and "Subsection content" are disabled.
      34. Check again the user data on "Subsection general" and uncheck the user data from "Subsection content".
      35. Validate the user data from "Subsection content" is disabled.
      36. Check again the user data from "Subsection content".
      37. Click the "Next" button to go to the review step.
      38. Click on the Perform restore button.
      39. If needed, run the instance cron to execute the restore in background.
      40. Validate no errors appear.
      41. Click on the continue button once the restore is done.
      42. Validate the new course have the same structure as the original course.
      43. Access the second, empty course.
      44. Navigate to the "Course reuse --> import" option in the tertiary navigation.
      45. Select the previous course backup as import data from and click on continue.
      46. Click continue to go to the destination step.
      47. Under Restore into an existing course, click on "Delete the contents of the existing course and then restore" then select a course to restore into.
      48.  Restore the course.
      49. If needed, run the instance cron to execute the backup in background.
      50. Validate no errors appear.
      51. Click on the continue button once the import is done.
      52. Validate the course have the same structure as the original course.
      53. Click on the "Subsection general" activity
      54. Validate you see the subsection activity page with and the activities.

            lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

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