Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18200

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

XMLWordPrintable

      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. Click on its edit button
      9. Change the Tool configuration usage dropdown to "Show in activity chooser and as a preconfigured tool"
      10. Uncheck "Supports Deep Linking (Content-Item Message)"
      11. 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

        1. membership_read_details.jpg
          72 kB
          Jake Dallimore
        2. membership_read_success.jpg
          76 kB
          Jake Dallimore
        3. names_and_role_details.jpg
          74 kB
          Jake Dallimore
        4. names_and_role_success.jpg
          70 kB
          Jake Dallimore
        5. saltire_configuration_success
          12 kB
          Jake Dallimore

            jaked Jake Dallimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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