Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-15457 Moodle 3.11 QA
  3. MDLQA-16007

CLONE - As an admin I want to restore a deleted course with the content bank from Recycle bin

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Minor
    • Affects Version/s: Moodle 3.11
    • Fix Version/s: Moodle 3.11
    • Component/s: Content bank, H5P
    • Labels:
      None

      Description

      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 as admin
      2. Create a course named C1
      3. Go to Content bank link in C1 course (link is in the drawer for Boost, in Navigation block -> Site pages for Classic)
      4. Click 'Upload' button to create a new content
      5. Upload helloworld.h5p file and Save changes
      6. Go to Site administration > Courses > Manage courses and categories
      7. Delete C1 course
      8. Go to the 'Recycle bin' of the C1 course's category.
      9. Restore just deleted C1 course.
      10. Confirm the course is restored successfully and click in 'Continue'
      11. Go to Content bank link in the new course (link is in the drawer for Boost, in Navigation block -> Site pages for Classic)
      12. Confirm 'helloworld.h5p' content is there
      13. Click on 'helloworld.h5p' content
      14. Confirm the image of the Earth is shown and there's no error

        Attachments

        1. 1.png
          1.png
          234 kB
        2. 2.png
          2.png
          89 kB
        3. 3.png
          3.png
          22 kB
        4. 4.png
          4.png
          225 kB
        5. helloworld.h5p
          35 kB

          Issue Links

            Activity

              People

              Assignee:
              yoniamikam Yoni Amikam
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: