Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-65518

UX changes for Open Badges 2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7
    • Fix Version/s: 3.7
    • Component/s: Badges
    • Labels:
    • Testing Instructions:
      Hide

      Setup

      • Start on a clean Moodle site.
      • Requires 2 valid accounts on badgr.io (email and password required).
      • ATTENTION: Sometimes the 'The backpack returned: "Too many login attempts. Please wait and try again."' could be displayed while executing the tests. Waiting for a while it should disappear.

      Test 1: Backpack without issuer email and password

      1. Login as admin.
      2. Go to 'Site administration / Badges / Backpack settings' and change the admin setting "badges_site_backpack" to https://badgr.io
      3. VERIFY you get a warning on the settings page about "Could not connect to backpack (lots more details)".

      Test 2: Backpack with empty issuer email

      1. Click the link in the warning to edit the backpack settings.
      2. Provide the password for the Badgr.io account and save the changes.
      3. VERIFY you still get a warning on the settings page about "Could not connect to backpack (lots more details)". This should say at the end: "Invalid credentials given".

      Test 3: Correct backpack credentials

      1. Go to 'Site administration / Badges / Badges settings', change the admin setting "Badge issuer email address" to the valid email for the Badgr account and save the changes.
      2. Go to 'Site administration / Badges / Backpack settings'.
      3. VERIFY there is no longer a warning at the end of the page.

      Test 4: When the issuer name is empty, the site name is used

      1. Go to 'Site administration / Badges / Badges settings'.
      2. Make sure the Admin setting "Badge issuer name" is an empty string. 
      3. Go to ' Site administration / Badges / Add a new badge, create a badge (don't forget to enable it!) and award it to yourself.
      4. Go to your "Preferences -> Backpack settings" page. Enter a valid Badr.io email address and password to connect to the Badgr backpack.
      5. This will send an email to the logged in user with the URL to verify their backpack. Follow this link in the email.
      6. View your own profile. Click on the badge you were awarded. Click on "Add to backpack". 
      7. VERIFY the badge was added to the Badgr backpack.
      8. Go to https://badgr.io/ and login with the user account.
      9. VERIFY the site name is displayed as issuer name.
      Show
      Setup Start on a clean Moodle site. Requires 2 valid accounts on badgr.io (email and password required). ATTENTION : Sometimes the ' The backpack returned: "Too many login attempts. Please wait and try again." ' could be displayed while executing the tests. Waiting for a while it should disappear. Test 1: Backpack without issuer email and password Login as admin. Go to 'Site administration / Badges / Backpack settings' and change the admin setting "badges_site_backpack" to https://badgr.io VERIFY you get a warning on the settings page about "Could not connect to backpack (lots more details)". Test 2: Backpack with empty issuer email Click the link in the warning to edit the backpack settings. Provide the password for the Badgr.io account and save the changes. VERIFY you still get a warning on the settings page about "Could not connect to backpack (lots more details)". This should say at the end: "Invalid credentials given". Test 3: Correct backpack credentials Go to 'Site administration / Badges / Badges settings', change the admin setting "Badge issuer email address" to the valid email for the Badgr account and save the changes. Go to 'Site administration / Badges / Backpack settings'. VERIFY there is no longer a warning at the end of the page. Test 4: When the issuer name is empty, the site name is used Go to 'Site administration / Badges / Badges settings'. Make sure the Admin setting "Badge issuer name" is an empty string.  Go to ' Site administration / Badges / Add a new badge, create a badge (don't forget to enable it!) and award it to yourself. Go to your "Preferences -> Backpack settings" page. Enter a valid Badr.io email address and password to connect to the Badgr backpack. This will send an email to the logged in user with the URL to verify their backpack. Follow this link in the email. View your own profile. Click on the badge you were awarded. Click on "Add to backpack".  VERIFY the badge was added to the Badgr backpack. Go to https://badgr.io/  and login with the user account. VERIFY the site name is displayed as issuer name.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-65518-master

      Description

      After reviewing the set of changes to the UI for Open Badges v2 - there are a few improvements we could make.

      1. Change the name of the "Site backpack" setting to something like "Select a backpack".
      2. Make the admin fields for the Issuer name, Issuer contact and Issuer password required if the backpack requires those fields.
      3. Test the issuer contact and password when they are set in the admin settings and show an error if they do not match a valid account for the backpack.
      4. Use the site name as the default if the "default badge issuer name" is not set.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  20/May/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 5 hours, 49 minutes
                  1d 5h 49m