Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-12909

A teacher can use competencies as criteria for a badge

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Minor
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Labels:

      Description

      This is an exploratory test of a new feature, so please feel free to try anything you like and not just the test steps!

      This test requires admin access. If you would like to use the QA testing site for running it, 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!

      Testing scenario 1: Site badge

      1. Log in as an admin and add a competency framework (you can download and import it from https://moodle.net/mod/data/view.php?d=12).
      2. Add a site badge.
      3. Add a "Competencies" criteria to the site badge. Select 2 competencies for the criteria.
      4. Add the 2 competencies to a course.
      5. Make sure the course competency setting is set to "Competency ratings in this course are updated immediately in learning plans." 
      6. Log in as a teacher and go to the "Competencies" page in the course.
      7. Click on one of the competencies.
      8. Select the student and one of the competencies.
      9. Click the "Rate" button and rate the student as "Competent" for the competency.
      10. Repeat steps 8 and 9 for the other competency.
      11. Log in as the student and see they were awarded the badge.

       Testing scenario 2: Course badge

      1. Log in as an admin and add a competency framework (you can download and import it from https://moodle.net/mod/data/view.php?d=12).
      2. Add the 2 competencies to a course.
      3. Add a badge to the course.
      4. Add a "Competencies" criteria to the course badge. Select the 2 competencies for the criteria (you should only see the course competencies to choose from).
      5. Log in as a teacher and go to the "Competencies" page in the course.
      6. Change the course competency settings (the cog icon at the top of the competencies page) so that "Rating a competency only updates the competency in this course".
      7. Click on one of the competencies.
      8. Select the student and one of the competencies.
      9. Click the "Rate" button and rate the student as "Competent" for the competency.
      10. Repeat steps 8 and 9 for the other competency.
      11. Log in as the student and see they were awarded the course badge.
      12. Copy the URL to the badge.
      13. Open an incognito tab or another browser session.
      14. Paste the URL of badge that was awarded to the user.
      15. Confirm that you can see the badge that was awarded to the user and it indicates the user's name and the competency criteria for the badge.

       Testing scenario 3: Competencies not enabled

      1. Log in as an admin and turn the admin setting "Enable competencies" off.
      2. Add a site badge.
      3. Verify you cannot add competencies as criteria for the site badge.

       Testing scenario 4: Competencies turned off

      1. Turn the admin setting "Enable competencies" on.
      2. Add a competency framework (you can download and import it from https://moodle.net/mod/data/view.php?d=12).
      3. Add a site badge.
      4. Add a "Competencies" criteria to the site badge. Select 2 competencies for the criteria.
      5. Turn the admin setting "Enable competencies" off.
      6. View the site badge. Verify each of the competencies displays but should not contain links.
      7. Verify you can delete the badge.

       Testing scenario 5: Trying to delete a competency linked to a badge

      1. Enable competencies.
      2. Go to the competency framework and select one of the competencies that you have set as criteria for the badge.
      3. Attempt to delete the competency.
      4. Confirm that you get an error message that the competency cannot be deleted.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: