Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-18443 Moodle 4.4 QA
  3. MDLQA-18808

CLONE - A user can add a badge earned on Moodle to their Badgr backpack

    XMLWordPrintable

Details

    Description

      Requirements

      1. Run your site with public access and HTTPS (use ngrok or similar).
      2. An outgoing server configured (mailcacher or similar). The QA testing site can't be used, as sending of emails is disabled.
      3. One account on https://badgr.com/
      4. Two accounts on https://eu.badgr.com/  

      Setup

      1. Login as admin.
      2. Create one user (s1) and set the Moodle email to match the email used in the badgr.com account.
      3. Create another user (s2) and set the Moodle email to match the email for one of the eu.badgr.com accounts.
      4. Create a badge, publish it and award it to the s1 and s2 users.

      Testing scenario 1. Badgr (using OBv2.1)

      1. Login as admin.
      2. Go to "Site administration > Badges > Manage backpacks".
      3. Create a new backpack with the following information:
        • API version supported: Open Badges v2.1
        • Backpack URL: https://badgr.com
        • Check "Backpack API URL" is not displayed in the form when Open Badges v2.1 is selected.
      4. Go to "Site administration > Server > OAuth 2 services".
      5. Check a new OAuth service "Canvas Badges", "Default Frontend Config" or similar has been created.
      6. Go to the Configure endpoints page for this issuer.
      7. Check "apiBase" is one of the endpoints displayed.
      8. Login as s1.
      9. Go to the user preferences page.
      10. Access to "Backpack settings".
      11. Select "https://badgr.com" from the list and connect using the user account in badgr.com.
      12. Go to the user profile page and access the badge you've been awarded.
      13. Click the "Add to backpack" button.
      14. Check the message "Added badge to backpack " is displayed.

       

      Testing scenario 2. Badgr (using OBv2.0)

      1. Login as admin.
      2. Go to "Site administration > Badges > Manage backpacks".
      3. Create a new backpack with the following information:
        • API version supported: Open Badges v2.0
        • Backpack URL: https://eu.badgr.com/
        • Backpack API URL: https://api.eu.badgr.io/v2 
        • Check "Include authentication details with the backpack"
        • Badge issuer email address: the email of the other user account in eu.badgr.com
        • Badge issuer password: password for the previous user
      4. Click the "Test settings" icon near the delete one.
      5. Check the "Backpack connection successfully established" message is displayed.
      6. Login as s2.
      7. Go to the user preferences page.
      8. Access to "Backpack settings".
      9. Select "https://eu.badgr.com/" from the list and connect using the user account in badgr.com.
      10. Open the verification email and open the URL to validate the account.
      11. Confirm status is set to Connected.
      12. Go to the user profile page and access the badge you've been awarded.
      13. Click the "Add to backpack" button.
      14. Check the message "Added badge to backpack " is displayed.

      Attachments

        Issue Links

          Activity

            People

              meowmiomew Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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