MDL-66600 quiz manual grading: show any automated grading and feedback
This commit is contained in:
@@ -445,8 +445,7 @@ class quiz_grading_report extends quiz_default_report {
|
||||
$attempt = $attempts[$qubaid];
|
||||
$quba = question_engine::load_questions_usage_by_activity($qubaid);
|
||||
$displayoptions = quiz_get_review_options($this->quiz, $attempt, $this->context);
|
||||
$displayoptions->hide_all_feedback();
|
||||
$displayoptions->rightanswer = question_display_options::VISIBLE;
|
||||
$displayoptions->generalfeedback = question_display_options::HIDDEN;
|
||||
$displayoptions->history = question_display_options::HIDDEN;
|
||||
$displayoptions->manualcomment = question_display_options::EDITABLE;
|
||||
|
||||
|
||||
@@ -57,6 +57,10 @@ Feature: Basic use of the Manual grading report
|
||||
And I set the field "Order attempts" to "By student ID number"
|
||||
And I press "Change options"
|
||||
|
||||
# General feedback for Short answer 001 displays.
|
||||
And I should see "That is a bad answer."
|
||||
And I should see "The correct answer is: frog"
|
||||
|
||||
# Adjust the mark for Student1.
|
||||
And I set the field "Comment" to "I have adjusted your mark to 0.6"
|
||||
And I set the field "Mark" to "0.6"
|
||||
|
||||
Reference in New Issue
Block a user