Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-11698 Moodle 3.5 QA testing
  3. MDLQA-12156

CLONE - A teacher can add an IMS LTI activity with membership to the course

    XMLWordPrintable

    Details

      Description

      NOTE: You need admin permissions and public Moodle instance to test this issue.

      Create LTI tool registration to show in activity selector

      1. As admin got to Site administration > Plugins > Activity modules > External tool > Manage tools
      2. Enter http://lti.tools/test/tp.php in the Tool URL input and click "Add"
      3. Click on the Registration button
      4. Select all options under Enabled capabilities and Tool services in the new page that loads
      5. Press "Register tool"
      6. When asked if you'd like to activate this tool, click "Yes"
      7. Verify that the new tool now appears as "Test tool provider"
      8. Click on its edit button
      9. (Optional) Change its name
      10. Change the Tool configuration usage dropdown to "Show in activity chooser and as a preconfigured tool" (This ensures that the LTI tool can be enabled for both methods below)
      11. Click "Save changes"

      Add a LTI activity

      1. As a teacher in a course, add an activity and select your recently configured LTI tool from the list (likely called "Test tool provider" unless you have renamed it).
      2. Type a Activity name
      3. Save and Display
      4. Ensure that you see a page that says: "IMS LTI tool provider emulator"
      5. Click on "Memberships" icon and then click on "Read" button
      6. Check the JSON in the response to ensure it correctly reports each user enrolled in the course

      Add a LTI activity (alternate way)

      1. As a teacher in a course, add an activity "External tool".
      2. Type a Activity name and select "Test tool provider" (unless you have renamed it) for "External tool type"
      3. Save and Display
      4. Ensure that you see a page that says: "IMS LTI tool provider emulator"
      5. Click on "Memberships" icon and then click on "Read" button
      6. Check the JSON in the response to ensure it correctly reports each user enrolled in the course

      Limit an LTI tool to only showing once an External Tool activity has been created

      1. Click on the edit button for "Test tool provider" (unless you have renamed it)
      2. Change the Tool configuration usage dropdown to "Show as preconfigured tool when adding an external tool"
      3. Click "Save changes"
      4. Add a new activity and check that the External tool is gone from the activity chooser

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: