-
Functional Test
-
Minor
-
Moodle 3.11
Test requirements:
- 2 test user accounts on https://badgr.io - one for use by the admin (let's call it the 'Badgr admin account') and one for use by an ordinary user (let's call it the 'Badgr user account')
- A test user account on eu.badgr.io (or au.badgr.io or ca.badgr.io) for use by an ordinary user (let's call it the 'Badgr EU user account')
- Admin access to a Moodle site which can send emails and 2 user accounts. (The QA testing site can't be used, as sending of emails is disabled.)
- Log in as admin and go to Site administration / Badges / Add a new badge.
- Add a new badge, setting the criteria as Manual issue by role and tick the Teacher and 'Any of the selected roles' options.
- Click the Save button and then the Enable access button.
- Click Recipients and then 'Award badge'. Select the 2 users and award them the badge.
- Go to Site administration / Badges / Backpack settings and set the site backpack to https://badgr.io.
- Go to Site administration / Badges / Badges settings and set the Badgr admin account email as badge issuer email address.
- Go to Site administration / Badges / Manage backpacks, edit the settings for the badgr.io backpack and enter the Badgr admin account password as badge issuer password.
- In Site administration / Badges / Manage backpacks click the button 'Add a new backpack'.
- Enter the following details:
- Backpack API - https://api.eu.badgr.io/v2 (or au or ca if used for test account)
- Backpack URL - https://eu.badgr.io
- API Version - Open Badges v2.0
- Include authentication details with the backpack - leave unticked
- Verify that backpack that you added is correctly listed.
- Log out then log in as user1.
- In the user menu (top right), select Preferences then 'Backpack settings' under Badges.
- Enter the Badgr user account email and click the button 'Connect to backpack'.
- Look in your mailbox for a verification email and copy & paste the link to verify your connection to the backpack.
- Back in Moodle, logged in as user1, in the user menu select Preferences then 'Manage badges'.
- Verify that your badge is displayed and click on the badge.
- Click the button 'Add to backpack'.
- Verify that a message 'Added badge to backpack' is displayed.
- Go to https://badgr.io, log in with the Badgr user account and verify that the Moodle badge is displayed correctly (though you may need to be patient and wait a few minutes before the badge is displayed in the Badgr backpack).
- Log out then log in as user2.
- In the user menu (top right), select Preferences then 'Backpack settings' under Badges.
- Select eu.badgr.io as backpack provider then enter the Badgr EU user account email and click the button 'Connect to backpack'.
- Look in your mailbox for a verification email and copy & paste the link to verify your connection to the backpack.
- Back in Moodle, logged in as user2, in the user menu select Preferences then 'Manage badges'.
- Verify that your badge is displayed and click on the badge.
- Click the button 'Add to backpack'.
- Verify that a message 'Added badge to backpack' is displayed.
- Go to https://eu.badgr.io, log in with the Badgr EU user account and verify that the Moodle badge is displayed correctly (though you may need to be patient and wait a few minutes before the badge is displayed in the Badgr backpack).