Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-4602 Moodle 2.4 QA
  3. MDLQA-4744

CLONE - Grade item categories hiding and aggregation work



    • Functional Test
    • Moodle 2.4
    • Moodle 2.4
    • Grades
    • None


      For this test, while not necessary, it is helpful to have two browsers (ie Firefox and IE) or two computers so you can use Moodle as two separate users. One teacher and one student.

      Required: a course containing two or more grade items containing marks for at least one student. You'll need enough marks to get a course total for the student. Using overridden grades is ok for this test. You may want to override the student's grades with grades that make manual verification of aggregated grades easy. Three grade items with grades of 1, 5 and 10 for example.

      1. As the teacher, view the Categories and settings full view page. Click the "Add category" button at the bottom of the page. Give your category a name and click save.
      2. Click the move icon (and up and down arrow next to the show/hide eye icon) for a grade item. Click the box within your category to place the grade item within the category.
      3. As the student view the user report and verify that you can see the category and the grade item within it. Make a note of the course total.
      4. As a teacher/admin select Settings -> Course from the gradebook navigation dropdown and set both overview and user report "Hide totals if they contain hidden items" to "hide".
      5. As the teacher go the categories and settings page and click the eye icon for the category to hide the category. Verify that both the category and grade item within the category are hidden (show the closed eye icon)
      6. As the student refresh the user report and verify that both the category and the grade item within the category have been hidden. Verify that the course total has been hidden.
      7. As the teacher unhide the category by clicking the closed eye icon. Verify that both the category and the grade item in it are made visible.
      8. Add a second grade item to your category.
      9. As the student refresh the user report. Verify that the category and grade items are displayed correctly.
      10. Verify that the student's course total has changed. Its new value should reflect that the two grade items are being aggregated into a single grade for the category then that category is being aggregated with any other grade items. The aggregation methods being applied to the category and the course are displayed in the aggregation column of the categories and settings page.
      11. As the teacher edit the course by clicking the edit icon (hand holding pencil) in the actions column next to the course name. Check 'Aggregate including subcategories' and click save.
      12. As the student reload the user report. The course total should be the same as in step 3 as now each grade item is being individually considered regardless of their category.


        Issue Links



              alrachels AL Rachels
              0 Vote for this issue
              2 Start watching this issue




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