AutorÃa | Ultima modificación | Ver Log |
@core @core_gradesFeature: Site settings can be used to hide parts of the gradebook UIIn order to hide UI elementsAs an adminI need to modify gradebook related system settingsBackground:Given the following "courses" exist:| fullname | shortname | category | format || Course 1 | C1 | 0 | topics |And the following "users" exist:| username | firstname | lastname | email | idnumber || student1 | Student | 1 | student1@example.com | s1 |And the following "course enrolments" exist:| user | course | role || student1 | C1 | student |And the following "activities" exist:| activity | course | idnumber | name | intro || assign | C1 | assign1 | Assignment1 | Assignment 1 intro |And I am on the "Course 1" "grades > Grader report > View" page logged in as "admin"And I turn editing mode on@javascriptScenario: Hide minimum gradeGiven I click on grade item menu "Assignment1" of type "gradeitem" on "grader" pageWhen I choose "Edit grade item" in the open action menuAnd I should see "Minimum grade"And I click on "Cancel" "button" in the "Edit grade item" "dialogue"Then I navigate to "Grades > General settings" in site administrationAnd I set the field "Show minimum grade" to "0"And I press "Save changes"And I am on the "Course 1" "grades > Grader report > View" pageAnd I click on grade item menu "Assignment1" of type "gradeitem" on "grader" pageAnd I choose "Edit grade item" in the open action menuAnd I should not see "Minimum grade"@javascriptScenario: Disable category overridingGiven "Student 1 Course total" "field" should existAnd I navigate to "Grades > Grade category settings" in site administrationAnd I set the field "Allow category grades to be manually overridden" to "0"And I press "Save changes"When I am on the "Course 1" "grades > Grader report > View" pageThen "Student 1 Course total" "field" should not exist