Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-8195

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

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • None
    • Original - DO NOT REPORT TEST RESULTS HERE
    • None

      NOTE: This test requires admin access. If you would like to use the QA testing site for running the test, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      Create an LTI tool

      1. As admin got to Site administration > Plugins > Activity modules > External tool > Manage tools
      2. Enter https://saltire.lti.app/tool in the Tool URL input and click "Add LTI Advantage"
      3. When Saltire loads in the frame, click the "Sign in" link there and continue to sign in using Google SSO.
      4. Leave the "Allow anyone to use this registration" option unchecked
      5. Click continue
      6. When you see the registration is successful, you can click "Close"
      7. Click "Activate" to activate the tool
      8. Open the tool in a new tab and go to "Security Model"
      9. Copy the tool's Public Key (copy all characters in the text area)
      10. Now, switch back to Moodle tab
      11. Click on the tool's edit button
      12. Change the Tool configuration usage dropdown to "Show in activity chooser and as a preconfigured tool"
      13. Uncheck "Supports Deep Linking (Content-Item Message)"
      14. Change "Public key type" to "RSA Key" and paste the public key you copied earlier into the field
      15. Click "Save changes"

      Add an LTI activity

      1. As a teacher in a course, add an activity and select your recently configured LTI tool from the list (likely called "Saltire" unless you have renamed it).
      2. Enter an activity name
      3. Save and Display
      4. Ensure that you see a page that says: "LTI emulator" or something similar (the tool page)
      5. Click on the "Service" dropdown within the Saltire frame, then select "OAuth 2 access token"
      6. Select all scopes and click "Request new token". Ignore the tool if it reports that the platform didn't offer some of the requested scopes.
      7. Click on the "Service" dropdown within the Saltire frame, then select "Membership"
      8. Click on "Read" button
      9. When prompted to view request, select "Yes"
      10. Check the JSON in the response to ensure it correctly reports each user enrolled in the course
      11. Click on the "Service" dropdown within the Saltire frame, then select "Names and role provisioning"
      12. Click on "Read" button
      13. When prompted to view request, select "Yes"
      14. Check the JSON in the response to ensure it correctly reports each user enrolled in the course

            Unassigned Unassigned
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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