Disallows showing the total grade as points in Gradebook (new and old)
and the student grades page when weighted grading periods are in use.
closes GRADE-193
Test Plan:
1. Create a course with 2 assignment groups and 2 grading periods.
Neither the assignment groups nor the grading periods should be
weighted.
2. Create an assignment in the first assignment group and make it due
in the first grading period. Give a student 10/10.
3. Create an assignment in the second assignmetn group and make it due
in the second grading period. Give a student 5/10.
4. In the Gradebook (old and new), verify you can toggle between
showing the total as points or percentage.
5. Select "Display as Points". Verify totals show up as points.
6. In Individual Gradebook, verify there is a 'Show Totals as Points
on Student Grade Page' option, and you can toggle it. Also verify
the final grade for the student includes the points possible, i.e.
41.94% (26 / 62 points). Note that Individual Gradebook will always
show the final grade for a student as a percent followed by points
possible, regardless of the 'Show Totals as Points on Student Grade
Page' option.
7. Go to the Account Grading Standards page and update the Grading
Period Set to be weighted.
8. In the Gradebook (old and new), verify the totals are shown as
percent. Verify there is no option to toggle between points and
percentage.
9. In Individual Gradebook, verify there is no longer a 'Show Totals as
Points on Student Grade Page' option. Verify the final grade for the
student does not include the points possible if 'All Grading
Periods' is selected. Verify the final grade for the student
includes the points possible if an individual Grading Period is
selected.
10. Go to the student grades page for a student and verify the total
is shown as a percent. As with the Individual Gradebook, points
possible should not be shown next to the final grade if 'All
Grading Periods' is selected, and they should be shown next to the
final grade if an individual Grading Period is selected.
11. Go to the Account Grading Standards page and update the Grading
Period Set to not be weighted.
12. In the Gradebook (old and new), verify there is an option to
toggle between points and percentage.
13. In Individual Gradebook, verify there is a 'Show Totals as Points
on Student Grade Page' option, and you can toggle it.
14. Go to the assignments page for the course and update the assignment
groups to be weighted.
15. In the Gradebook (old and new), verify the totals are shown as
percent. Verify there is no option to toggle between points and
percentage.
16. In Individual Gradebook, verify there is not a 'Show Totals as
Points on Student Grade Page' option. Verify the final grade for the
student does not include the points possible (regardless of Grading
Period selection).
17. Go to the student grades page for a student and verify the total
is shown as a percent. As with the Individual Gradebook, points
possible should not be shown next to the final grade (regardless of
Grading Period selection).
Change-Id: Ic0614643edabee2f175ae701bf2593120c6db40a
Reviewed-on: https://gerrit.instructure.com/131565
Reviewed-by: Derek Bender <djbender@instructure.com>
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>