Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71642

Add qbank_comment to core

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • master_MDL-71642-comment
    • Hide

      Test scenario 1:

      • Login into the Moodle site as an administrator
      • Navigate to: Site administration > Plugins > Plugins overview
      • Confirm:
        • That the “Question bank comment feature” plugin appears under the "Question banks plugins" section

      Test scenario 2:

      • Navigate to: Site administration > Plugins > Question bank plugins > Manage question bank plugins
      • Confirm:
        • That the Manage question banks page appears
        • That the plugin "Question bank comment feature" exists.

      Test scenario 3:

      • Create a Course
      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Create a new question using any question type.
      • Confirm:
        • That the "Comments" column is visible.
        • Sorting for this column works properly.

      Test scenario 4:

      • Navigate to: Site administration > Plugins > Question bank plugins > Manage question bank plugins
      • Disable the plugin by clicking the eye icon.
      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Confirm:
        • That the "Question bank comment feature" column is not visible.
        • Sorting using other columns behaves properly.

      Test scenario 5:

      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Click on any of the comment count for any of the created questions.
      • Add a comment for the question
      • Click "Save comment" to save the comment
      • Click "Ok" to close the modal pop up
      • Confirm:
        • That the count of the comments for that question is changed to "1"
      • Click "1" in the comment count for that question
      • Delete the previous comment
      • Confirm:
        • That the comment count for that question is "0"

      Test scenario 6:

      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Add some random comments to the questions created here
      • Navigate to the created course page
      • Create a quiz activity
      • Go to the created quiz: Actions menu (Gear icon) > Question banks
      • From the "Select a category" drop-down,  select the Default for Quiz category/
      • Create some random questions in this category
      • Add some random comments to the created questions
      • Navigated back to the course page: Action menu (Gear icon) > Backup
      • Follow the steps to backup the course, finish the backup and it will take you to the "Restore course" page
      • Restore the course following the restore steps
      • Navigate to the newly restored course: Actions menu (Gear icon) > Question banks
      • Confirm:
        • That the comments are available for the questions
        • That the comment count is correct for the questions
        • That clicking the count shows the correct number of comments in the modal
        • That the user is correct in the comment description

       

      Show
      Test scenario 1: Login into the Moodle site as an administrator Navigate to: Site administration > Plugins > Plugins overview Confirm: That the “Question bank comment feature” plugin appears under the "Question banks plugins" section Test scenario 2: Navigate to: Site administration > Plugins > Question bank plugins > Manage question bank plugins Confirm: That the Manage question banks page appears That the plugin "Question bank comment feature" exists. Test scenario 3: Create a Course Navigate to the created course: Actions menu (Gear icon) > Question banks Create a new question using any question type. Confirm: That the "Comments" column is visible. Sorting for this column works properly. Test scenario 4: Navigate to: Site administration > Plugins > Question bank plugins > Manage question bank plugins Disable the plugin by clicking the eye icon. Navigate to the created course: Actions menu (Gear icon) > Question banks Confirm : That the "Question bank comment feature" column is not visible. Sorting using other columns behaves properly. Test scenario 5: Navigate to the created course: Actions menu (Gear icon) > Question banks Click on any of the comment count for any of the created questions. Add a comment for the question Click "Save comment" to save the comment Click "Ok" to close the modal pop up Confirm: That the count of the comments for that question is changed to "1" Click "1" in the comment count for that question Delete the previous comment Confirm: That the comment count for that question is "0" Test scenario 6: Navigate to the created course: Actions menu (Gear icon) > Question banks Add some random comments to the questions created here Navigate to the created course page Create a quiz activity Go to the created quiz: Actions menu (Gear icon) > Question banks From the "Select a category" drop-down,  select the Default for Quiz category/ Create some random questions in this category Add some random comments to the created questions Navigated back to the course page: Action menu (Gear icon) > Backup Follow the steps to backup the course, finish the backup and it will take you to the "Restore course" page Restore the course following the restore steps Navigate to the newly restored course: Actions menu (Gear icon) > Question banks Confirm: That the comments are available for the questions That the comment count is correct for the questions That clicking the count shows the correct number of comments in the modal That the user is correct in the comment description  

      This implementation will introduce a qbank plugin
      "comment" which will allow users with the capability
      to comment in a question. It also implements a
      callback for the question preview page to view
      and add comments from the preview page. Comment
      plugin is implemented using the existing comments
      API from the core.

            safatshahin Safat Shahin
            mattp@catalyst-au.net Matt Porritt
            Matt Porritt Matt Porritt
            Ilya Tregubov Ilya Tregubov
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 45 minutes
                5h 45m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.