-
Functional Test
-
Minor
-
Moodle 4.3
-
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
- As admin got to Site administration > Plugins > Activity modules > External tool > Manage tools
- Enter https://saltire.lti.app/tool in the Tool URL input and click "Add LTI Advantage"
- When Saltire loads in the frame, click the "Sign in" link there and continue to sign in using Google SSO.
- Leave the "Allow anyone to use this registration" option unchecked
- Click continue
- When you see the registration is successful, you can click "Close"
- Click "Activate" to activate the tool
- Click on its edit button
- Change the Tool configuration usage dropdown to "Show in activity chooser and as a preconfigured tool"
- Uncheck "Supports Deep Linking (Content-Item Message)"
- Click "Save changes"
Add an LTI activity
- 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).
- Enter an activity name
- Save and Display
- Ensure that you see a page that says: "LTI emulator" or something similar (the tool page)
- Click on the "Service" dropdown within the Saltire frame, then select "OAuth 2 access token"
- 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.
- Click on the "Service" dropdown within the Saltire frame, then select "Membership"
- Click on "Read" button
- When prompted to view request, select "Yes"
- Check the JSON in the response to ensure it correctly reports each user enrolled in the course
- Click on the "Service" dropdown within the Saltire frame, then select "Names and role provisioning"
- Click on "Read" button
- When prompted to view request, select "Yes"
- Check the JSON in the response to ensure it correctly reports each user enrolled in the course
- is a QA test written for
-
MDL-50658 Add support for LTI Memberships service
- Closed