X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/grade/tests/behat
home
/
cbholdings
/
pasukulu
/
grade
/
tests
/
behat
/
📁
..
📄
behat_grade.php
(21.71 KB)
📄
behat_grade_deprecated.php
(2.5 KB)
📄
behat_grades.php
(9.17 KB)
📄
grade_UI_settings.feature
(2.07 KB)
📄
grade_aggregation.feature
(33.83 KB)
📄
grade_aggregation_changes.feature
(28.81 KB)
📄
grade_average.feature
(2.29 KB)
📄
grade_calculated_grade_items.feature
(10.73 KB)
📄
grade_calculated_grade_items_20150627.feature
(10.83 KB)
📄
grade_calculated_weights.feature
(16.09 KB)
📄
grade_category_validation.feature
(7.49 KB)
📄
grade_contribution_with_extra_credit.feature
(4.12 KB)
📄
grade_feedback.feature
(3.75 KB)
📄
grade_grade_minmax_change.feature
(3.77 KB)
📄
grade_hidden_items.feature
(4.25 KB)
📄
grade_hidden_items_locked_category.feature
(4.33 KB)
📄
grade_item_duplication.feature
(2.33 KB)
📄
grade_item_form_unhide.feature
(5.94 KB)
📄
grade_item_validation.feature
(5.11 KB)
📄
grade_letter_boundary.feature
(2.03 KB)
📄
grade_letter_boundary_20160518.feature
(2.14 KB)
📄
grade_letter_logging.feature
(1.54 KB)
📄
grade_mingrade.feature
(6.32 KB)
📄
grade_minmax.feature
(11.24 KB)
📄
grade_natural_exclude_empty.feature
(20.25 KB)
📄
grade_natural_exclude_empty_20150619.feature
(21.16 KB)
📄
grade_natural_normalisation.feature
(14.35 KB)
📄
grade_natural_normalisation_20150619.feature
(7.26 KB)
📄
grade_override_letter.feature
(12.04 KB)
📄
grade_point_maximum.feature
(4.7 KB)
📄
grade_regrade_do_not_override.feature
(3.58 KB)
📄
grade_scales.feature
(10.64 KB)
📄
grade_scales_aggregation.feature
(7.08 KB)
📄
grade_scales_logging.feature
(959 B)
📄
grade_single_item_scales.feature
(8.36 KB)
📄
grade_to_pass.feature
(15.43 KB)
📄
grade_view.feature
(5.77 KB)
📄
siteadmin_grades_outcomes_breadcrumbs.feature
(1.33 KB)
📄
siteadmin_grades_scale_breadcrumbs.feature
(1016 B)
📄
toggle_grade_categories.feature
(13.3 KB)
Editing: grade_regrade_do_not_override.feature
@core @core_grades Feature: Regrading grades does not unnecessarily mark some as overriden In order to regrade a grade item As an admin I need to keep the overridden status of all grades Background: 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 | | student2 | Student | 2 | student2@example.com | s2 | And the following "course enrolments" exist: | user | course | role | | student1 | C1 | student | | student2 | C1 | student | And the following "activities" exist: | activity | course | idnumber | name | intro | | assign | C1 | assign1 | Assignment 1 | Assignment 1 intro | And I log in as "admin" And I navigate to "Grades > Grade category settings" in site administration And I set the field "Available aggregation types" to "Weighted mean of grades" And I press "Save changes" And I am on the "Assignment 1" "assign activity" page And I follow "View all submissions" And I click on "Grade" "link" in the "Student 1" "table_row" And I set the field "Grade out of 100" to "80" And I press "Save and show next" And I set the field "Grade out of 100" to "60" And I press "Save changes" And I am on "Course 1" course homepage And I navigate to "View > Grader report" in the course gradebook And the following should exist in the "gradereport-grader-table" table: | | | | | First name / Last name | Assignment 1 | Course total | | Student 1 | 80.00 | 80.00 | | Student 2 | 60.00 | 60.00 | And I turn editing mode on And I give the grade "80.00" to the user "Student 2" for the grade item "Course total" And I press "Save changes" And I navigate to "View > Grader report" in the course gradebook And I navigate to "Setup > Gradebook setup" in the course gradebook And I set the following settings for grade item "Course 1" of type "course" on "setup" page: | Aggregation | Weighted mean of grades | | Rescale overridden grades | Yes | | Maximum grade | 200 | And I press "Save changes" @javascript Scenario: Confirm regrading did not overwrite overridden status Given I navigate to "View > Grader report" in the course gradebook Then "td.overridden" "css_element" should not exist in the "Student 1" "table_row" And "td.overridden" "css_element" should exist in the "Student 2" "table_row" @javascript Scenario: Confirm overridden course total does not get regraded when activity grade is changed Given I am on the "Assignment 1" "assign activity" page And I follow "View all submissions" And I click on "Grade" "link" in the "Student 1" "table_row" And I set the field "Grade out of 100" to "90" And I press "Save and show next" And I set the field "Grade out of 100" to "70" And I press "Save changes" When I am on "Course 1" course homepage And I navigate to "View > Grader report" in the course gradebook Then the following should exist in the "gradereport-grader-table" table: | | | | | First name / Last name | Assignment 1 | Course total | | Student 1 | 90.00 | 180.00 | | Student 2 | 70.00 | 160.00 |
Upload File
Create Folder