Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.70.127.73
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead /
grade /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
behat_grade.php
15.78
KB
-rw-r--r--
grade_UI_settings.feature
2.35
KB
-rw-r--r--
grade_aggregation.feature
30.95
KB
-rw-r--r--
grade_aggregation_changes.feat...
19.76
KB
-rw-r--r--
grade_average.feature
2.88
KB
-rw-r--r--
grade_calculated_grade_items.f...
10.71
KB
-rw-r--r--
grade_calculated_grade_items_2...
10.8
KB
-rw-r--r--
grade_calculated_weights.featu...
13.81
KB
-rw-r--r--
grade_category_validation.feat...
6.47
KB
-rw-r--r--
grade_contribution_with_extra_...
3.98
KB
-rw-r--r--
grade_grade_minmax_change.feat...
3.81
KB
-rw-r--r--
grade_hidden_items.feature
4.75
KB
-rw-r--r--
grade_hidden_items_locked_cate...
4.34
KB
-rw-r--r--
grade_item_duplication.feature
2.21
KB
-rw-r--r--
grade_item_form_unhide.feature
6.19
KB
-rw-r--r--
grade_item_validation.feature
5.02
KB
-rw-r--r--
grade_letter_boundary.feature
1.85
KB
-rw-r--r--
grade_letter_boundary_20160518...
1.96
KB
-rw-r--r--
grade_letter_logging.feature
1.46
KB
-rw-r--r--
grade_mingrade.feature
6.23
KB
-rw-r--r--
grade_minmax.feature
11.22
KB
-rw-r--r--
grade_natural_exclude_empty.fe...
20.13
KB
-rw-r--r--
grade_natural_exclude_empty_20...
21.03
KB
-rw-r--r--
grade_natural_normalisation.fe...
14.54
KB
-rw-r--r--
grade_natural_normalisation_20...
7.12
KB
-rw-r--r--
grade_override_letter.feature
9.56
KB
-rw-r--r--
grade_point_maximum.feature
4.7
KB
-rw-r--r--
grade_regrade_do_not_override....
3.7
KB
-rw-r--r--
grade_scales.feature
10.73
KB
-rw-r--r--
grade_scales_aggregation.featu...
6.99
KB
-rw-r--r--
grade_scales_logging.feature
959
B
-rw-r--r--
grade_single_item_scales.featu...
8.22
KB
-rw-r--r--
grade_to_pass.feature
14.22
KB
-rw-r--r--
grade_view.feature
5.15
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : grade_to_pass.feature
@core @core_grades Feature: We can set the grade to pass value In order to set the grade to pass value As a teacher I assign a grade to pass to an activity while editing the activity. I need to ensure that the grade to pass is visible in the gradebook. Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | And the following "courses" exist: | fullname | shortname | format | numsections | | Course 1 | C1 | weeks | 5 | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | And the following "scales" exist: | name | scale | | Test Scale 1 | Disappointing, Good, Very good, Excellent | And the following "activity" exists: | activity | assign | | course | C1 | | section | 1 | | idnumber | assign1 | | name | Test Assignment 1 | | intro | Submit your online text | | assignsubmission_onlinetext_enabled | 1 | And I log in as "teacher1" And I am on "Course 1" course homepage @javascript Scenario: Validate that switching the type of grading used correctly disables grade to pass Given I turn editing mode on And I am on the "Test Assignment 1" "assign activity" page And I navigate to "Edit settings" in current page administration And I expand all fieldsets And I set the field "grade[modgrade_type]" to "Point" Then the "Grade to pass" "field" should be enabled And I set the field "grade[modgrade_type]" to "None" And the "Grade to pass" "field" should be disabled And I press "Save and return to course" @javascript Scenario: Create an activity with a Grade to pass value greater than the maximum grade When I turn editing mode on And I am on the "Test Assignment 1" "assign activity" page And I navigate to "Edit settings" in current page administration And I expand all fieldsets And I set the field "grade[modgrade_type]" to "Point" And I set the field "grade[modgrade_point]" to "50" And I set the field "Grade to pass" to "100" And I press "Save and return to course" Then I should see "The grade to pass can not be greater than the maximum possible grade 50" And I press "Cancel" @javascript Scenario: Set a valid grade to pass for an assignment activity using points When I turn editing mode on And I am on the "Test Assignment 1" "assign activity" page And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | assignsubmission_onlinetext_enabled | 1 | | grade[modgrade_type] | Point | | grade[modgrade_point] | 50 | | Grade to pass | 25 | And I press "Save and return to course" And I navigate to "View > Grader report" in the course gradebook And I turn editing mode on And I click on "Edit assign Test Assignment 1" "link" Then the field "Grade to pass" matches value "25" And I am on "Course 1" course homepage And I am on the "Test Assignment 1" "assign activity" page And I navigate to "Edit settings" in current page administration And I expand all fieldsets And I set the field "Grade to pass" to "30" And I press "Save and return to course" And I navigate to "View > Grader report" in the course gradebook And I click on "Edit assign Test Assignment 1" "link" And the field "Grade to pass" matches value "30" @javascript Scenario: Set a valid grade to pass for an assignment activity using scales When I turn editing mode on And I am on the "Test Assignment 1" "assign activity" page And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | grade[modgrade_type] | Scale | | grade[modgrade_scale] | Test Scale 1 | | Grade to pass | 3 | And I press "Save and return to course" And I navigate to "View > Grader report" in the course gradebook And I turn editing mode on And I click on "Edit assign Test Assignment 1" "link" And I expand all fieldsets Then the field "Grade to pass" matches value "3" And I set the field "Grade to pass" to "4" And I press "Save changes" And I am on "Course 1" course homepage And I am on the "Test Assignment 1" "assign activity" page And I navigate to "Edit settings" in current page administration And the field "Grade to pass" matches value "4" @javascript Scenario: Set a invalid grade to pass for an assignment activity using scales When I turn editing mode on And I am on the "Test Assignment 1" "assign activity" page And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | grade[modgrade_type] | Scale | | grade[modgrade_scale] | Test Scale 1 | | Grade to pass | 10 | And I press "Save and return to course" Then I should see "The grade to pass can not be greater than the maximum possible grade 4" Scenario: Set a valid grade to pass for workshop activity Given the following "activities" exist: | activity | name | intro | course | section | idnumber | | workshop | Test Workshop 1 | Test workshop | C1 | 1 | workshop1 | And I am on "Course 1" course homepage with editing mode on And I follow "Test Workshop 1" And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | grade | 80 | | Submission grade to pass | 40 | | gradinggrade | 20 | | Assessment grade to pass | 10 | And I press "Save and return to course" And I navigate to "View > Grader report" in the course gradebook And I turn editing mode on And I click on "Edit workshop Test Workshop 1 (submission)" "link" And I expand all fieldsets Then the field "Grade to pass" matches value "40" And I set the field "Grade to pass" to "45" And I press "Save changes" And I click on "Edit workshop Test Workshop 1 (assessment)" "link" And I expand all fieldsets And the field "Grade to pass" matches value "10" And I set the field "Grade to pass" to "15" And I press "Save changes" And I am on "Course 1" course homepage And I follow "Test Workshop 1" And I follow "Edit settings" And the field "Submission grade to pass" matches value "45" And the field "Assessment grade to pass" matches value "15" Scenario: Set an invalid grade to pass for workshop activity Given the following "activities" exist: | activity | name | intro | course | section | idnumber | | workshop | Test Workshop 1 | Test workshop | C1 | 1 | workshop1 | And I am on "Course 1" course homepage with editing mode on And I follow "Test Workshop 1" And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | grade | 80 | | Submission grade to pass | 90 | | gradinggrade | 20 | | Assessment grade to pass | 30 | And I press "Save and return to course" Then "The grade to pass can not be greater than the maximum possible grade 80" "text" should exist in the "Submission grade to pass" "form_row" Then "The grade to pass can not be greater than the maximum possible grade 20" "text" should exist in the "Assessment grade to pass" "form_row" Scenario: Set a valid grade to pass for quiz activity Given the following "activities" exist: | activity | name | course | section | idnumber | | quiz | Test Quiz 1 | C1 | 1 | quiz1 | And I am on "Course 1" course homepage with editing mode on And I follow "Test Quiz 1" And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | Grade to pass | 9.5 | And I press "Save and return to course" And I navigate to "View > Grader report" in the course gradebook And I turn editing mode on And I click on "Edit quiz Test Quiz 1" "link" And I expand all fieldsets Then the field "Grade to pass" matches value "9.5" And I set the field "Grade to pass" to "8" And I press "Save changes" And I am on "Course 1" course homepage And I follow "Test Quiz 1" And I follow "Edit settings" And the field "Grade to pass" matches value "8.00" Scenario: Set a valid grade to pass for lesson activity Given the following "activities" exist: | activity | name | intro | course | section | idnumber | | lesson | Test Lesson 1 | Test | C1 | 1 | lesson1 | And I am on "Course 1" course homepage with editing mode on And I follow "Test Lesson 1" And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | Grade to pass | 90 | And I press "Save and return to course" And I navigate to "View > Grader report" in the course gradebook And I turn editing mode on And I click on "Edit lesson Test Lesson 1" "link" And I expand all fieldsets Then the field "Grade to pass" matches value "90" And I set the field "Grade to pass" to "80" And I press "Save changes" And I am on "Course 1" course homepage And I follow "Test Lesson 1" And I follow "Edit settings" And the field "Grade to pass" matches value "80" Scenario: Set a valid grade to pass for database activity Given the following "activities" exist: | activity | name | intro | course | section | idnumber | | data | Test Database 1 | Test | C1 | 1 | data1 | And I am on "Course 1" course homepage with editing mode on And I follow "Test Database 1" And I navigate to "Edit settings" in current page administration And I expand all fieldsets And I set the following fields to these values: | Ratings > Aggregate type | Average of ratings | | id_scale_modgrade_type | Point | | Ratings > Grade to pass | 90 | And I press "Save and return to course" And I navigate to "View > Grader report" in the course gradebook And I turn editing mode on And I click on "Edit data Test Database 1" "link" And I expand all fieldsets Then the field "Grade to pass" matches value "90" And I set the field "Grade to pass" to "80" And I press "Save changes" And I am on "Course 1" course homepage And I click on "Edit settings" "link" in the "Test Database 1" activity And the field "Grade to pass" matches value "80" Scenario: Set an invalid grade to pass for forum activity Given the following "activities" exist: | activity | name | intro | course | section | idnumber | | forum | Test Forum 1 | Test | C1 | 1 | forum1 | And I am on "Course 1" course homepage with editing mode on And I follow "Test Forum 1" And I navigate to "Edit settings" in current page administration And I expand all fieldsets And I set the following fields to these values: | Ratings > Aggregate type | Average of ratings | | id_scale_modgrade_type | Point | | Ratings > Grade to pass | 90 | | Ratings > scale[modgrade_point] | 60 | And I press "Save and return to course" Then I should see "The grade to pass can not be greater than the maximum possible grade 60" Scenario: Set a valid grade to pass for forum activity Given the following "activities" exist: | activity | name | intro | course | section | idnumber | | forum | Test Forum 1 | Test | C1 | 1 | forum1 | And I am on "Course 1" course homepage with editing mode on And I follow "Test Forum 1" And I navigate to "Edit settings" in current page administration And I expand all fieldsets And I set the following fields to these values: | Ratings > Aggregate type | Average of ratings | | id_scale_modgrade_type | Point | | Ratings > Grade to pass | 90 | And I press "Save and return to course" And I navigate to "View > Grader report" in the course gradebook And I turn editing mode on And I click on "Edit forum Test Forum 1 rating" "link" And I expand all fieldsets Then the field "Grade to pass" matches value "90" And I set the field "Grade to pass" to "80" And I press "Save changes" And I am on "Course 1" course homepage And I follow "Test Forum 1" And I follow "Edit settings" And the field "Ratings > Grade to pass" matches value "80" Scenario: Set a valid grade to pass for glossary activity Given the following "activities" exist: | activity | name | intro | course | section | idnumber | | glossary | Test Glossary 1 | Test | C1 | 1 | glossary1 | And I am on "Course 1" course homepage with editing mode on And I follow "Test Glossary 1" And I navigate to "Edit settings" in current page administration And I set the following fields to these values: | Ratings > Aggregate type | Average of ratings | | id_scale_modgrade_type | Point | | Ratings > Grade to pass | 90 | And I press "Save and return to course" And I navigate to "View > Grader report" in the course gradebook And I turn editing mode on And I click on "Edit glossary Test Glossary 1" "link" And I expand all fieldsets Then the field "Grade to pass" matches value "90" And I set the field "Grade to pass" to "80" And I press "Save changes" And I am on "Course 1" course homepage And I follow "Test Glossary 1" And I follow "Edit settings" And the field "Grade to pass" matches value "80"
Close