canvas-lms/spec
Jeremy Neander c8229d721e load students and graders into moderation table
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>
2018-05-31 18:13:48 +00:00
..
apis load students and graders into moderation table 2018-05-31 18:13:48 +00:00
coffeescripts add pages and discussions with todo_date to the calendar 2018-05-29 20:16:56 +00:00
contracts add live event test for Quiz LTI contract 2018-05-23 15:29:36 +00:00
controllers Show 'not found' error for sub account dev keys 2018-05-31 16:06:03 +00:00
factories Outcome proficiency endpoints 2018-05-29 22:20:03 +00:00
fixtures BBB feature recording multiple formats 2018-04-26 19:58:36 +00:00
formatters use correct namespace 2018-04-19 23:09:19 +00:00
gem_integration/canvas_connect Revert "bump canvas_connect... again" 2017-09-05 16:47:41 +00:00
graphql graphql: add lock info type 2018-05-24 21:23:39 +00:00
helpers Refactor planner items endpoint to prepare for calendar 2018-05-24 17:33:46 +00:00
initializers transform id columns when calling pluck on array 2018-05-24 14:42:23 +00:00
instfs/selenium test instfs integration with user avatar images 2018-03-20 15:09:45 +00:00
integration Hardcode course_user_search feature to “on” 2018-05-25 21:53:24 +00:00
javascripts load students and graders into moderation table 2018-05-31 18:13:48 +00:00
lib Qti import from Canvas to Quizzes.Next 2018-05-31 16:57:32 +00:00
manual_seeding add large_gradebook_seeds.rb 2018-05-31 16:10:45 +00:00
messages Revert "fix footer logo in footer of emails" 2018-03-09 00:16:53 +00:00
middleware Add rake task to populate Consul from dynamic_settings.yml 2017-09-19 18:08:39 +00:00
migrations rename AccountAuthorizationConfig* to AuthenticationProvider* 2018-04-26 16:03:47 +00:00
models Align course copy quiz duplication with quiz copy duplication 2018-05-31 18:09:05 +00:00
observers Qti import from Canvas to Quizzes.Next 2018-05-31 16:57:32 +00:00
presenters disable SpeedGrader if all the moderated grader spots are taken 2018-05-21 19:51:02 +00:00
requests speedgrader link takes you to specific student 2018-04-26 00:25:34 +00:00
selenium instUI5 upgrade: account_course_user_search stuff 2018-05-31 17:06:10 +00:00
serializers Qti import from Canvas to Quizzes.Next 2018-05-31 16:57:32 +00:00
shared_examples add anonymous provisional grades controller 2018-05-30 17:40:14 +00:00
support Configuration for i18n Jenkins build 2018-05-21 21:42:24 +00:00
views Hardcode course_user_search feature to “on” 2018-05-25 21:53:24 +00:00
.eslintrc [spec] eslint: turn off “qunit/no-setup-teardown” 2018-02-16 19:15:18 +00:00
ams_spec_helper.rb Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
broadcast_integration.rb spec: rename the `user` helper to `user_factory` 2016-12-27 20:25:25 +00:00
cassandra_spec_helper.rb don't log errors for unconfigured auditors 2016-03-31 17:11:36 +00:00
coverage_tool.rb Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
import_helper.rb Add ability to import tool profiles 2017-06-19 19:31:52 +00:00
jspec.sh speed up JS tests by running them concurrently 2018-01-16 19:32:28 +00:00
lti2_course_spec_helper.rb Include similarity detection tool associations in export 2017-10-06 19:33:29 +00:00
lti2_spec_helper.rb Add DeveloperKey/vendor code association for LTI2 2017-08-07 16:32:48 +00:00
lti_spec_helper.rb da licença part 47 2017-04-28 17:59:55 +00:00
quiz_spec_helper.rb da licença part 60 2017-05-01 21:20:40 +00:00
rcov.opts
rspec_mock_extensions.rb spec: remove mocha 2017-07-27 18:22:39 +00:00
sharding_spec_helper.rb Skip tests that require plugin unless plugin installed 2017-07-28 19:30:52 +00:00
simple_cov_result_merger.rb spec: stabilize some gem dependencies, refs SD-2837 2017-08-30 16:12:08 +00:00
spec.opts spec: bring test-queue rerun logic into canvas 2017-01-25 22:29:41 +00:00
spec_helper.rb add anonymous provisional grades controller 2018-05-30 17:40:14 +00:00