X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tests/behat
home
/
cbholdings
/
pasukulu
/
admin
/
tests
/
behat
/
📁
..
📄
assign.feature
(4.09 KB)
📄
behat_admin.php
(5.15 KB)
📄
browse_users.feature
(3.05 KB)
📄
check.feature
(2.71 KB)
📄
display_short_names.feature
(858 B)
📄
enable_multiple_accounts_use_same_email.feature
(3.23 KB)
📄
filter_users.feature
(5.53 KB)
📄
filter_users_settings.feature
(9.77 KB)
📄
invalid_allcountrycodes.feature
(1.41 KB)
📄
language_settings.feature
(1.35 KB)
📄
manage_blocks.feature
(3.11 KB)
📄
manage_media.feature
(1.31 KB)
📄
manage_tokens.feature
(3.8 KB)
📄
moodlenet_outbound.feature
(2.5 KB)
📄
outgoing_mail.feature
(1.29 KB)
📄
purge_caches.feature
(1.4 KB)
📄
resetindentation.feature
(6.44 KB)
📄
search_areas.feature
(1.02 KB)
📄
set_admin_settings_value.feature
(895 B)
📄
site_administration.feature
(1.01 KB)
📄
siteadmin_webservice_breadcrumbs.feature
(1.74 KB)
📄
siteadmin_webservice_token_breadcrumbs.feature
(1.21 KB)
📄
task_logs.feature
(3.51 KB)
📄
webservice_users.feature
(1.97 KB)
Editing: browse_users.feature
@core @core_admin Feature: An administrator can browse user accounts In order to find the user accounts I am looking for As an admin I can browse users and see their basic information Background: Given the following "custom profile fields" exist: | datatype | shortname | name | | text | frog | Favourite frog | And the following "users" exist: | username | firstname | lastname | email | department | profile_field_frog | firstnamephonetic | | user1 | User | One | one@example.com | Attack | Kermit | Yewzer | | user2 | User | Two | two@example.com | Defence | Tree | Yoozare | And I log in as "admin" Scenario: User accounts display default fields When I navigate to "Users > Accounts > Browse list of users" in site administration # Name field always present, email field is default for showidentity. Then the following should exist in the "users" table: | First name / Last name | Email address | | User One | one@example.com | | User Two | two@example.com | # Should not see other identity fields or non-default name fields. And I should not see "Department" in the "table" "css_element" And I should not see "Attack" And I should not see "Favourite frog" in the "table" "css_element" And I should not see "Kermit" And I should not see "First name - phonetic" in the "table" "css_element" And I should not see "Yoozare" Scenario: User accounts with extra name fields Given the following config values are set as admin: | alternativefullnameformat | firstnamephonetic lastname | When I navigate to "Users > Accounts > Browse list of users" in site administration Then the following should exist in the "users" table: | First name - phonetic / Last name | Email address | | Yewzer One | one@example.com | | Yoozare Two | two@example.com | Scenario: User accounts with specified identity fields Given the following config values are set as admin: | showuseridentity | department,profile_field_frog | When I navigate to "Users > Accounts > Browse list of users" in site administration Then the following should exist in the "users" table: | First name / Last name | Favourite frog | Department | | User One | Kermit | Attack | | User Two | Tree | Defence | And I should not see "Email address" in the "table" "css_element" And I should not see "one@example.com" Scenario: Sort user accounts by custom profile field Given the following config values are set as admin: | showuseridentity | profile_field_frog | When I navigate to "Users > Accounts > Browse list of users" in site administration And I follow "Favourite frog" Then "Kermit" "text" should appear before "Tree" "text" And I follow "Favourite frog" Then "Tree" "text" should appear before "Kermi" "text"
Upload File
Create Folder