Merge branch 'wip-mdl-50103-m28' of https://github.com/rajeshtaneja/moodle into MOODLE_28_STABLE

This commit is contained in:
Andrew Nicols
2015-05-04 09:39:03 +08:00
@@ -45,27 +45,27 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I follow "Course 1"
And I follow "Test assignment name"
And I follow "View/grade all submissions"
And I should see "Not marked" in the "Participant 1" "table_row"
And I click on "Grade Participant 1" "link" in the "Participant 1" "table_row"
And I should see "Not marked" in the "I'm the student's first submission" "table_row"
And I click on "Grade Participant " "link" in the "I'm the student's first submission" "table_row"
And I set the field "Grade out of 100" to "50"
And I set the field "Marking workflow state" to "In review"
And I set the field "Feedback comments" to "Great job! Lol, not really."
And I press "Save changes"
And I press "Continue"
And I should see "In review" in the "Participant 1" "table_row"
And I should see "In review" in the "I'm the student's first submission" "table_row"
@javascript
Scenario: Student identities are revealed after releasing the grades.
When I click on "Grade Participant 1" "link" in the "Participant 1" "table_row"
When I click on "Grade Participant " "link" in the "I'm the student's first submission" "table_row"
And I set the field "Marking workflow state" to "Ready for release"
And I press "Save changes"
And I press "Continue"
And I should see "Ready for release" in the "Participant 1" "table_row"
And I click on "Grade Participant 1" "link" in the "Participant 1" "table_row"
And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
And I click on "Grade Participant " "link" in the "I'm the student's first submission" "table_row"
And I set the field "Marking workflow state" to "Released"
And I press "Save changes"
And I press "Continue"
And I should see "Released" in the "Participant 1" "table_row"
And I should see "Released" in the "I'm the student's first submission" "table_row"
And I set the field "Grading action" to "Reveal student identities"
And I press "Continue"
And I log out
@@ -78,11 +78,11 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
@javascript
Scenario: Student identities are revealed before releasing the grades.
When I click on "Grade Participant 1" "link" in the "Participant 1" "table_row"
When I click on "Grade Participant " "link" in the "I'm the student's first submission" "table_row"
And I set the field "Marking workflow state" to "Ready for release"
And I press "Save changes"
And I press "Continue"
And I should see "Ready for release" in the "Participant 1" "table_row"
And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
And I set the field "Grading action" to "Reveal student identities"
And I press "Continue"
And I click on "Grade Student 1" "link" in the "Student 1" "table_row"