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.179.154
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 /
admin /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
behat_admin.php
4.86
KB
-rw-r--r--
display_short_names.feature
858
B
-rw-r--r--
enable_multiple_accounts_use_s...
3.34
KB
-rw-r--r--
filter_users.feature
4.47
KB
-rw-r--r--
filter_users_settings.feature
9.76
KB
-rw-r--r--
invalid_allcountrycodes.featur...
1.41
KB
-rw-r--r--
language_settings.feature
1.35
KB
-rw-r--r--
manage_tokens.feature
903
B
-rw-r--r--
purge_caches.feature
1.27
KB
-rw-r--r--
search_areas.feature
1.02
KB
-rw-r--r--
set_admin_settings_value.featu...
895
B
-rw-r--r--
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