Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-10986 QA tests no longer needed
  3. MDLQA-16758

Smoke test on the new tertiary navigation for badges

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • None
    • Original - DO NOT REPORT TEST RESULTS HERE
    • Badges, Navigation

      Prerequisites:

      1. Create a course with the following users enrolled:
        1. Teacher
        2. Non-editing teacher
        3. Student

      Testing scenario 1. Course badge as admin

      1. Log in as an admin and go to the course
      2. Select "Badges" from the more menu
      3. Click on the 'Add a new badge' button
      4. Fill in the form
        1. Badge Name: Badge1
        2. Add a image and a description for the badge.
        3. Click save.
      5. Add a badge criteria on "Manual issue by role"
      6. Enable Manager and Teacher and save
      7. Select Recipients from the dropdown
      8. Confirm you do not see the 'Award badge' button
      9. Click on the 'Enable access' button and confirm the action
      10. Confirm you do see the 'Award badge' button now
      11. Click on the 'Award badge' button
      12. Confirm you see a 'Back' button
      13. Confirm the 'More' menu is marked as selected
      14. Click on the 'Back' button.
      15. Confirm you are taken back to the page in #7 (Recipients)
      16. Click on the 'Award badge' icon (trophy)
      17. Select 'Teacher' from the dropdown
      18. Confirm you see a 'Back' button and the 'More' menu is marked as selected
      19. Click on the back button
      20. Confirm you are taken back to the page in #7 (Recipients)

      Testing scenario 2. Course badge as teacher

      1. Log in as a teacher
      2. Repeat all of above creating Badge2 (steps 2 to 20) from Testing scenario 1.
        1. Teacher will not have 'Manager' listed in the above point. Skip this selection.

      Testing scenario 3. Course badge as non-editing teacher

      1. Log in as non-editing teacher and go to the course
      2. Select Badges from the secondary menu
      3. Click 'Manage badges' and then click on 'Badge1'
      4. Under 'Recipients' section, click 'Award badge' button
      5. Confirm you see an error notification
      6. Confirm you do not see a back button
      7. Click on the 'Badge recipient' link in the notification
      8. Select Badge2
      9. Repeat steps 4 to 7

      Testing scenario 4. Site badge as admin

      1. As admin and go to Site Admin > Manage badges
      2. Repeat steps (3 to 20) from Testing Scenario 1 (Use a different name for the badge)
        1. The breadcrumbs in the top should be "Badges / Manage Badges / {Badge name}"
      3. On Site Admin > Manage badges
      4. Click on the delete icon
      5. Confirm you do not see any tertiary navigation in your current page (example below):

            Unassigned Unassigned
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

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