Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18409

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. Test_1_step_11.png
          Test_1_step_11.png
          46 kB
        2. Test_2_step_11.png
          Test_2_step_11.png
          44 kB
        3. Test_2_step_12.png
          Test_2_step_12.png
          43 kB
        4. Test_2_step_14.png
          Test_2_step_14.png
          21 kB
        5. Test_2_step_2.png
          Test_2_step_2.png
          86 kB
        6. Test_2_step_9.png
          Test_2_step_9.png
          65 kB
        7. Test_3_step_2.png
          Test_3_step_2.png
          81 kB
        8. Test_3_step_6.png
          Test_3_step_6.png
          45 kB
        9. Test_3_step_7.png
          Test_3_step_7.png
          77 kB
        10. Test_4_step_11.png
          Test_4_step_11.png
          48 kB
        11. Test_4_step_14.png
          Test_4_step_14.png
          19 kB
        12. Test_4_step_2.png
          Test_4_step_2.png
          70 kB
        13. Test_4_step_9.png
          Test_4_step_9.png
          43 kB
        14. Test_5_step_2.png
          Test_5_step_2.png
          66 kB
        15. Test_5_step_6.png
          Test_5_step_6.png
          47 kB
        16. Test_5_step_7.png
          Test_5_step_7.png
          62 kB

            safat.shahin@moodle.com Safat Shahin
            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.