Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@gradingform @gradingform_guideFeature: Marking guides can be created and editedIn order to use and refine marking guide to grade studentsAs a teacherI need to edit previously used marking guidesBackground:Given the following "users" exist:| username | firstname | lastname | email || teacher1 | Teacher | 1 | teacher1@example.com || student1 | Student | 1 | student1@example.com |And the following "courses" exist:| fullname | shortname | format || Course 1 | C1 | topics |And the following "course enrolments" exist:| user | course | role || teacher1 | C1 | editingteacher || student1 | C1 | student |And the following "activity" exists:| activity | assign || course | C1 || idnumber | assign1 || name | Test assignment 1 name || intro | Test assignment description || section | 1 || assignsubmission_file_enabled | 1 || assignsubmission_onlinetext_enabled | 1 || assignsubmission_file_maxfiles | 1 || assignsubmission_file_maxsizebytes | 1000 || assignfeedback_comments_enabled | 1 || assignfeedback_file_enabled | 1 || assignfeedback_comments_commentinline | 1 |And I am on the "Test assignment 1 name" "assign activity editing" page logged in as teacher1And I set the following fields to these values:| Grading method | Marking guide |And I press "Save and return to course"# Defining a marking guideWhen I go to "Test assignment 1 name" advanced grading definition pageAnd I change window size to "large"And I set the following fields to these values:| Name | Assignment 1 marking guide || Description | Marking guide test description |And I define the following marking guide:| Criterion name | Description for students | Description for markers | Maximum score || Guide criterion A | Guide A description for students | Guide A description for markers | 30 || Guide criterion B | Guide B description for students | Guide B description for markers | 30 || Guide criterion C | Guide C description for students | Guide C description for markers | 40 |And I define the following frequently used comments:| Comment 1 || Comment 2 || Comment 3 || Comment "4" |And I press "Save marking guide and make it ready"Then I should see "Ready for use"And I should see "Guide criterion A"And I should see "Guide criterion B"And I should see "Guide criterion C"And I should see "Comment 1"And I should see "Comment 2"And I should see "Comment 3"And I should see "Comment \"4\""@javascriptScenario: Deleting criterion and comment# Deleting criterionWhen I am on "Course 1" course homepageAnd I go to "Test assignment 1 name" advanced grading definition pageAnd I click on "Delete criterion" "button" in the "Guide criterion B" "table_row"And I press "Yes"And I press "Save"Then I should see "Guide criterion A"And I should see "Guide criterion C"And I should see "WARNING: Your marking guide has a maximum grade of 70 points"But I should not see "Guide criterion B"# Deleting a frequently used commentWhen I am on "Course 1" course homepageAnd I go to "Test assignment 1 name" advanced grading definition pageAnd I click on "Delete comment" "button" in the "Comment 3" "table_row"And I press "Yes"And I press "Save"Then I should see "Comment 1"And I should see "Comment 2"And I should see "Comment \"4\""But I should not see "Comment 3"@javascriptScenario: Grading and viewing graded marking guide# Grading a student.When I navigate to "Assignment" in current page administrationAnd I go to "Student 1" "Test assignment 1 name" activity advanced grading pageAnd I grade by filling the marking guide with:| Guide criterion A | 25 | Very good || Guide criterion B | 20 | || Guide criterion C | 35 | Nice! |# Inserting frequently used comment.And I click on "Insert frequently used comment" "button" in the "Guide criterion B" "table_row"And I wait "1" secondsAnd I press "Comment \"4\""And I wait "1" secondsThen the field "Guide criterion B criterion remark" matches value "Comment \"4\""When I press "Save changes"And I am on the "Test assignment 1 name" "assign activity" pageAnd I follow "View all submissions"# Checking that the user grade is correct.Then I should see "80" in the "Student 1" "table_row"And I log out# Viewing it as a student.And I am on the "Test assignment 1 name" "assign activity" page logged in as student1And I should see "80" in the ".feedback" "css_element"And I should see "Marking guide test description" in the ".feedback" "css_element"And I should see "Very good"And I should see "Comment \"4\""And I should see "Nice!"Scenario: I can use marking guides to grade and edit them later updating students grades with Javascript disabled