closes GRADE-964
closes GRADE-1024
closes GRADE-1059
refs GRADE-877
refs GRADE-1166
test plan:
A. Setup
1. Enable Anonymous Moderated Marking
2. Select or create a course
a. with Anonymous Marking enabled
b. with three instructors (A, B, and C)
c. with 51 or more students
* this is for multiple pages of students
3. Select or create an assignment
a. with Moderated Grading
b. with Anonymous Grading
c. with instructor A as the final grader
4. As each instructor (B and C)
a. give at least one student a provisional grade
on each assignment (using SpeedGrader)
* This SHOULD create a new moderation_grader for each user
and for each assignment
B. Verify
1. Enable grader_names_visible_to_final_grader
assignment.grader_names_visible_to_final_grader = true
assignment.save!
2. Log in or act as instructor A
3. Visit the moderation page for the assignment
4. Verify both instructors B an C are named in the table
5. Verify all students are loaded into the table
6. Verify the correct grades are displayed in the table
7. Verify grades as associated with the correct graders
8. Verify ungraded student/grader pairs show as "–"
C. Verify with Other Graders Anonymous
1. Disable grader_names_visible_to_final_grader
assignment.grader_names_visible_to_final_grader = false
assignment.save!
2. Log in or act as instructor A
3. Visit the moderation page for the assignment
4. Verify column headers display anonymous grader names
* Students are not yet anonymized.
Change-Id: I155567cf461380f7018c964e74d775ed182c9954
Reviewed-on: https://gerrit.instructure.com/151269
Tested-by: Jenkins
Reviewed-by: Adrian Packel <apackel@instructure.com>
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
QA-Review: Indira Pai <ipai@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>