Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-12282 Moodle 3.6 QA
  3. MDLQA-12772

CLONE - Teacher can share course, activity and resource using LTI provider

    XMLWordPrintable

    Details

      Description

      Note: Two sites are required for testing this issue
      1. LTI consumer
      2. LTI provider.
      Enable LTI provider on course and activity
      1. Login as administrator.
      2. Follow Site administration ► Security ► HTTP security and enable 'Allow frame embedding'.
      3. Follow Site administration ► Plugins ► Authentication ► Manage authentication' and enable 'LTI' authentication.
      4. Follow Site administration ► Plugins ► Enrolments ► Manage enrol plugins and enable 'Publish as LTI tool'.
      5. Log out and log in as teacher.
      6. Visit a course with at least 1 activity (assignment) and 1 resource (file).
      7. Follow Course administration ► Users ► Enrolment methods.
      8. Add a Publish as LTI tool with 'Tool to be published' selected to course.
      9. Add a Publish as LTI tool with 'Tool to be published' selected to assignment
      10. Add a Publish as LTI tool with 'Tool to be published' selected to file.
      11. Follow Course administration ► Published as LTI tool.
      12. Make note of all 3 URLs and secrets.
      On your LTI consumer site
      1. Login as teacher and visit a course.
      2. Add 3 'External Tool' activities and use the following from your LTI provider site.
        • Tool URL as 'Cartridge URL'
        • Set 'Consumer key' to 'moodle'
        • Secret as 'Shared secret'
      3. Log in as a student.
      4. Visit the course and click on each LTI activity.
      5. Verify 'External Tool' activity links to course display course.
      6. Verify 'External Tool' activity links to assignment display assignment.
      7. Verify 'External Tool' activity links to file display file.
      Proxy test
      1. Copy proxy url from published course in LTI provider site
      2. On a consumer site go to Site administration ► Plugins ► External tool ► Manage tools
      3. Paste the url you copied into the box, but don't click add
      4. Change the token part of the url to something else such as "ASDF123"
      5. Click add
      6. Make sure that there is an error displayed
      7. Click cancel
      8. Paste the URL and this time click add with the correct token
      9. Click continue
      10. Click save
      11. The tool should successfully be added.
      12. Go to a course
      13. Add an external tool
      14. Select the type as the tool you just added
      15. Save and display
      16. Verify it works as expected and you log into LTI provider site correctly

        Attachments

        1. 2.PNG
          2.PNG
          74 kB
        2. 1.PNG
          1.PNG
          79 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: