Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-9243

Manager can restore a deleted course from recycle bin

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Blocker
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Component/s: Backup, Manager
    • Labels:
      None

      Description

      Prerequisite

      • Two courses in the same category.
      • A course called mycourse with activities, enrolled users, and groups.

      Classic theme testing

      1. Login as Manager and follow Site administration ► Courses ► Manage courses and categories ► Miscellaneous
      2. Ensure you don't see "Recycle bin" link under "Category: Miscellaneous" navigation node
      3. Delete an exiting course (mycourse), which has activities, enrolled users and groups by clicking on delete icon.
      4. You should see "Recycle bin" link under "Category: Miscellaneous" navigation node
      5. Follow "Recycle bin" and you should see the deleted course
      6. Click on "Restore" icon and you should see "mycourse has been restored.
      7. Navigate to course and make sure all activities/users/groups exits.

      Boost theme testing

      1. Login as Manager and follow Site administration ► Courses ► Manage courses and categories
      2. Click on a course in the miscellaneous category.
      3. The details of the course should be shown on the right. Click on the "View" link above the course details.
      4. Click "Miscellaneous" in the navigation bar.
      5. Click the cog icon. Ensure you don't see "Recycle bin" in the menu.
      6. Return back to the Manage courses and categories page (mentioned in step 1).
      7. Delete an exiting course (mycourse), which has activities, enrolled users and groups by clicking on delete icon.
      8. Navigate back to the course categories page (steps 2 - 4).
      9. You should see "Recycle bin" link in the settings menu.
      10. Follow "Recycle bin" and you should see the deleted course.
      11. Click on "Restore" icon and you should see "mycourse has been restored.
      12. Navigate to course and make sure all activities/users/groups exits.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: