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

Add qbank_editquestion to core

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • master_MDL-71374-editquestion
    • Hide

      Test scenario 1:

      • Login into the Moodle site as an administrator
      • Navigate to: Site administration > Plugins > Plugins overview
      • Confirm:
        • That the “Edit question bank 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 "Edit question bank 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 Edit action is visible.
        • That the Duplicate action is visible.
        • That the Create a new question action is visible.

      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 Edit action is not visible.
        • That the Duplicate action is not visible.
        • That the Create a new question action is not visible.

      Test scenario 5:

      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Find the created question.
      • Click the Cog to see the list of actions.
      • Select Edit.
      • Confirm:
        • That the URL for delete goes to the plugin (eg. question/bank/editquestion)
        • That the page shows the question edit form according to the qtype.
      • Select save changes after making some changes.
      • Confirm:
        • That the question is reflecting the changes done in the form.

      Test scenario 6:

      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Find the created question.
      • Click the Cog to see the list of actions.
      • Select Duplicate.
      • Confirm:
        • That the URL for delete goes to the plugin (eg. question/bank/editquestion)
        • That the page shows the question edit form according to the qtype.
        • Shows the name of the question with an added "(copy).
      • Select save changes after making some changes.
      • Confirm:
        • That the new question is reflecting the changes done in the form.

      Test scenario 6:

      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Find the created question.
      • Click the "Create a new question" button.
      • Select the question type.
      • Click "Add button".
      • Confirm:
        • That the URL for delete goes to the plugin (eg. question/bank/editquestion)
        • That the page shows the question edit form according to the qtype.
      • Select save changes after making some changes.
      • Confirm:
        • That the new question is reflecting the changes done in the form.
      Show
      Test scenario 1: Login into the Moodle site as an administrator Navigate to: Site administration > Plugins > Plugins overview Confirm: That the “Edit question bank 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 "Edit question bank 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 Edit action is visible. That the Duplicate action is visible. That the Create a new question action is visible. 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 Edit action is not visible. That the Duplicate action is not visible. That the Create a new question action is not visible. Test scenario 5: Navigate to the created course: Actions menu (Gear icon) > Question banks Find the created question. Click the Cog to see the list of actions. Select Edit. Confirm: That the URL for delete goes to the plugin (eg. question/bank/editquestion) That the page shows the question edit form according to the qtype. Select save changes after making some changes. Confirm: That the question is reflecting the changes done in the form. Test scenario 6: Navigate to the created course: Actions menu (Gear icon) > Question banks Find the created question. Click the Cog to see the list of actions. Select Duplicate. Confirm: That the URL for delete goes to the plugin (eg. question/bank/editquestion) That the page shows the question edit form according to the qtype. Shows the name of the question with an added "(copy). Select save changes after making some changes. Confirm: That the new question is reflecting the changes done in the form. Test scenario 6: Navigate to the created course: Actions menu (Gear icon) > Question banks Find the created question. Click the "Create a new question" button. Select the question type. Click "Add button". Confirm: That the URL for delete goes to the plugin (eg. question/bank/editquestion) That the page shows the question edit form according to the qtype. Select save changes after making some changes. Confirm: That the new question is reflecting the changes done in the form.

      This implementation will introduce a qbank plugin "editquestion"
      which will implement the edit question, add question and copy
      question actions in the question bank view by replacing the
      core classes. Having this plugin will give users the
      flexibility of enabling or disabling these actions.

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 15 minutes
                1h 15m

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