Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17385 Moodle 4.2 QA
  3. MDLQA-17912

CLONE - Activity tags are deleted during course reset

XMLWordPrintable

      This test requires server access to run scheduled tasks and admin access

      Test 1
      1. Create a course.
      2. Create a book.
      3. Add a chapter to the book with a tag.
      4. Go to the course reset page.
      5. Do not check anything.
      6. Submit the form.
      7. Look at the chapter in the book and confirm the tag is still there.
      8. Go to the course reset page.
      9. Check to remove the book tags.
      10. Submit the form.
      11. Confirm you get a message saying that the book tags have been removed.
      12. Look at the chapter in the book and confirm the tag is no longer there.
      Test 2
      1. Create a forum.
      2. Add a discussion to the forum with a tag.
      3. Go to the course reset page.
      4. Do not check anything.
      5. Submit the form.
      6. Look at the discussion in the forum and confirm the tag is still there.
      7. Go to the course reset page.
      8. Check to delete all forum posts.
      9. Confirm the 'Remove all forum tags' checkbox becomes disabled.
      10. Submit the form.
      11. Confirm you get a message saying that the forum posts have been removed.
      12. Click on the forum and confirm all posts have been deleted.
      13. Run php admin/cli/schedule_task.php --execute=\\core\\task
        tag_cron_task
      14. Look in your 'mdl_tag' table and confirm the tags were deleted as well.
      Test 3
      1. Create a forum.
      2. Add a discussion to the forum with a tag.
      3. Go to the course reset page.
      4. Check to remove all forum tags.
      5. Submit the form.
      6. Confirm you get a message saying that the forum tags have been removed.
      7. Click on the forum and confirm all the tags have been deleted.
      Test 4
      1. Create a glossary.
      2. Add an entry to the glossary with a tag.
      3. Go to the course reset page.
      4. Do not check anything.
      5. Submit the form.
      6. Look at the entry in the glossary and confirm the tag is still there.
      7. Go to the course reset page.
      8. Check to delete all glossary entries.
      9. Confirm the 'Remove all glossary tags' checkbox becomes disabled.
      10. Submit the form.
      11. Confirm you get a message saying that the glossary entries have been removed.
      12. Click on the glossary and confirm all entries have been deleted.
      13. Run php admin/cli/schedule_task.php --execute=\\core\\task
        tag_cron_task
      14. Look in your 'mdl_tag' table and confirm the tags were deleted as well.
      Test 5
      1. Create a glossary.
      2. Add an entry to the glossary with a tag.
      3. Go to the course reset page.
      4. Check to remove all glossary tags.
      5. Submit the form.
      6. Confirm you get a message saying that the glossary tags have been removed.
      7. Click on the glossary and confirm all the tags have been deleted.

        1. Test1 verify 1.png
          Test1 verify 1.png
          74 kB
        2. Test1 verify 2.png
          Test1 verify 2.png
          51 kB
        3. Test1 verify 3.png
          Test1 verify 3.png
          61 kB
        4. Test2 verify 1.png
          Test2 verify 1.png
          43 kB
        5. Test2 verify 2.png
          Test2 verify 2.png
          39 kB
        6. Test2 verify 3.png
          Test2 verify 3.png
          38 kB
        7. Test2 verify 4.png
          Test2 verify 4.png
          52 kB
        8. Test2 verify 5.png
          Test2 verify 5.png
          41 kB
        9. Test3 verify 1.png
          Test3 verify 1.png
          41 kB
        10. Test3 verify 2.png
          Test3 verify 2.png
          97 kB
        11. Test4 verify 1.png
          Test4 verify 1.png
          28 kB
        12. Test4 verify 2.png
          Test4 verify 2.png
          20 kB
        13. Test4 verify 3.png
          Test4 verify 3.png
          49 kB
        14. Test4 verify 4.png
          Test4 verify 4.png
          41 kB
        15. Test5 verify 1.png
          Test5 verify 1.png
          19 kB
        16. Test5 verify 2.png
          Test5 verify 2.png
          20 kB

            stevani.andolo@moodle.com Stevani Andolo
            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.