Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-12911 Moodle 3.7 QA
  3. MDLQA-13378

CLONE - A teacher can restore a deleted activity from recycle bin

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Blocker
    • Affects Version/s: Moodle 3.7
    • Fix Version/s: Moodle 3.7
    • Component/s: Backup, Teacher
    • Labels:
      None

      Description

      1. Log in as teacher and go to a course.
      2. Ensure you don't see 'Recycle bin' link either via the gear menu or in the Administration. block (depending upon your theme).
      3. Turn editing on and add an activity e.g. a forum, and click the 'Save and return to course' button.
      4. Delete the activity.
      5. Verify that you now see a 'Recycle bin' link either via the gear menu or in the Administration block (depending upon your theme). Note that the 'Recycle bin' link only appears after the cron has run, so you may need to wait a moment and then refresh the page.
      6. Follow the 'Recycle bin' link and verify that the deleted activity is listed.
      7. Click Restore and verify that the message ' {Activity_NAME}

        has been restored.' is displayed.

      8. Return to the course page and verify that the activity is shown.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: