[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @mod @mod_assign 2 Feature: Assignments correctly add feedback to the grade report when workflow and blind marking are enabled. 3 In order to give students feedback when blind marking 4 As a teacher 5 I should be able to reveal student identities at any time and have my feedback show 6 to the student in the gradebook when the grades are in a released state. 7 8 Background: 9 Given the following "courses" exist: 10 | fullname | shortname | category | groupmode | 11 | Course 1 | C1 | 0 | 1 | 12 And the following "users" exist: 13 | username | firstname | lastname | email | 14 | teacher1 | Teacher | 1 | teacher1@example.com | 15 | student1 | Student | 1 | student1@example.com | 16 And the following "course enrolments" exist: 17 | user | course | role | 18 | teacher1 | C1 | editingteacher | 19 | student1 | C1 | student | 20 # Add the assignment. 21 And I log in as "teacher1" 22 And I follow "Course 1" 23 And I turn editing mode on 24 And I add a "Assignment" to section "1" and I fill the form with: 25 | Assignment name | Test assignment name | 26 | Description | Test assignment description | 27 | Online text | 1 | 28 | File submissions | 0 | 29 | Use marking workflow | Yes | 30 | Blind marking | Yes | 31 And I log out 32 # Add a submission. 33 And I log in as "student1" 34 And I follow "Course 1" 35 When I follow "Test assignment name" 36 Then I should not see "Feedback" 37 And I should see "Not marked" in the "Grading status" "table_row" 38 And I press "Add submission" 39 And I set the following fields to these values: 40 | Online text | I'm the student's first submission | 41 And I press "Save changes" 42 And I log out 43 # Mark the submission. 44 And I log in as "teacher1" 45 And I follow "Course 1" 46 And I follow "Test assignment name" 47 And I follow "View all submissions" 48 And I should see "Not marked" in the "I'm the student's first submission" "table_row" 49 And I click on "Grade" "link" in the "I'm the student's first submission" "table_row" 50 And I set the field "Grade out of 100" to "50" 51 And I set the field "Marking workflow state" to "In review" 52 And I set the field "Feedback comments" to "Great job! Lol, not really." 53 And I press "Save changes" 54 And I press "Ok" 55 And I click on "Edit settings" "link" 56 And I follow "Test assignment name" 57 And I follow "View all submissions" 58 And I should see "In review" in the "I'm the student's first submission" "table_row" 59 60 @javascript 61 Scenario: Student identities are revealed after releasing the grades. 62 When I click on "Grade" "link" in the "I'm the student's first submission" "table_row" 63 And I set the field "Marking workflow state" to "Ready for release" 64 And I press "Save changes" 65 And I press "Ok" 66 And I click on "Edit settings" "link" 67 And I follow "Test assignment name" 68 And I follow "View all submissions" 69 And I should see "Ready for release" in the "I'm the student's first submission" "table_row" 70 And I click on "Grade" "link" in the "I'm the student's first submission" "table_row" 71 And I set the field "Marking workflow state" to "Released" 72 And I press "Save changes" 73 And I press "Ok" 74 And I click on "Edit settings" "link" 75 And I follow "Test assignment name" 76 And I follow "View all submissions" 77 And I should see "Released" in the "I'm the student's first submission" "table_row" 78 And I set the field "Grading action" to "Reveal student identities" 79 And I press "Continue" 80 And I log out 81 And I log in as "student1" 82 And I follow "Course 1" 83 And I navigate to "Grades" node in "Course administration" 84 And I set the field "Grade report" to "User report" 85 Then I should see "50" 86 And I should see "Great job! Lol, not really." 87 88 @javascript 89 Scenario: Student identities are revealed before releasing the grades. 90 When I click on "Grade" "link" in the "I'm the student's first submission" "table_row" 91 And I set the field "Marking workflow state" to "Ready for release" 92 And I press "Save changes" 93 And I press "Ok" 94 And I click on "Edit settings" "link" 95 And I follow "Test assignment name" 96 And I follow "View all submissions" 97 And I should see "Ready for release" in the "I'm the student's first submission" "table_row" 98 And I set the field "Grading action" to "Reveal student identities" 99 And I press "Continue" 100 And I click on "Grade" "link" in the "Student 1" "table_row" 101 And I set the field "Marking workflow state" to "Released" 102 And I press "Save changes" 103 And I press "Ok" 104 And I click on "Edit settings" "link" 105 And I follow "Test assignment name" 106 And I follow "View all submissions" 107 And I should see "Released" in the "Student 1" "table_row" 108 And I log out 109 And I log in as "student1" 110 And I follow "Course 1" 111 And I navigate to "Grades" node in "Course administration" 112 And I set the field "Grade report" to "User report" 113 Then I should see "50" 114 And I should see "Great job! Lol, not really."
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |