X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/user/tests/behat
home
/
cbholdings
/
pasukulu
/
user
/
tests
/
behat
/
📁
..
📄
add_blocks.feature
(858 B)
📄
addnewuser.feature
(725 B)
📄
behat_user.php
(5.76 KB)
📄
bulk_editenrolment.feature
(2.96 KB)
📄
bulk_message.feature
(1.49 KB)
📄
contact_site_support.feature
(5.54 KB)
📄
custom_profile_fields.feature
(13.99 KB)
📄
custom_profile_fields_manual.feature
(1.83 KB)
📄
delete_users.feature
(4.62 KB)
📄
edit_profile_notification.feature
(2.03 KB)
📄
edit_user_enrolment.feature
(6.8 KB)
📄
edit_user_roles.feature
(1.62 KB)
📄
edituserpassword.feature
(1.99 KB)
📄
enrol_cohort_list.feature
(2.2 KB)
📄
filter_idnumber.feature
(3.18 KB)
📄
filter_participants.feature
(47.21 KB)
📄
filter_participants_showall.feature
(6.73 KB)
📄
filter_timecreated.feature
(2.04 KB)
📄
filter_trim.feature
(1.54 KB)
📄
full_name_display.feature
(4.61 KB)
📄
hidden_user_fields.feature
(2.09 KB)
📄
input-purpose.feature
(1.82 KB)
📄
name_fields.feature
(2.91 KB)
📄
participants_in_group_modes.feature
(9.9 KB)
📄
reset_page.feature
(908 B)
📄
set_default_homepage.feature
(3.16 KB)
📄
set_email_display.feature
(4.08 KB)
📄
siteadmin_user_breadcrumbs.feature
(1.59 KB)
📄
table_column_visibility.feature
(2.44 KB)
📄
table_sorting.feature
(3.01 KB)
📄
user_grade_navigation.feature
(4.54 KB)
📄
user_private_files.feature
(996 B)
📄
view_full_profile.feature
(7.36 KB)
📄
view_participants.feature
(15.08 KB)
📄
view_participants_groups.feature
(3.37 KB)
📄
view_preferences_page.feature
(3.29 KB)
Editing: filter_idnumber.feature
@core @core_user Feature: Filter users by idnumber As a system administrator I need to be able to filter users by their ID number So that I can quickly find users based on an external key. Background: Given the following "users" exist: | username | firstname | lastname | email | idnumber | | teacher1 | Teacher | 1 | teacher@example.com | 0000002 | | student1 | Student1 | 1 | student1@example.com | 0000003 | | student2 | Student2 | 1 | student2@example.com | 2000000 | | student3 | Student3 | 1 | student3@example.com | 3000000 | And I log in as "admin" And I navigate to "Users > Accounts > Browse list of users" in site administration @javascript Scenario: Filtering id numbers - with case "is empty" # We should see see admin on the user list, the following e-mail is admin's e-mail. Then I should see "moodle@example.com" in the "users" "table" And I should see "Teacher" in the "users" "table" And I should see "Student1" in the "users" "table" And I should see "Student2" in the "users" "table" And I should see "Student3" in the "users" "table" And I follow "Show more..." And I set the field "id_idnumber_op" to "is empty" When I press "Add filter" # We should see admin on the user list, the following e-mail is admin's e-mail. Then I should see "moodle@example.com" in the "users" "table" And I should not see "Teacher" in the "users" "table" And I should not see "Student1" in the "users" "table" And I should not see "Student2" in the "users" "table" And I should not see "Student3" in the "users" "table" @javascript Scenario Outline: Filtering id numbers - with all other cases # We should see see admin on the user list, the following e-mail is admin's e-mail. Then I should see "moodle@example.com" in the "users" "table" And I should see "Teacher" in the "users" "table" And I should see "Student1" in the "users" "table" And I should see "Student2" in the "users" "table" And I should see "Student3" in the "users" "table" And I follow "Show more..." And I set the field "id_idnumber_op" to "<Category>" And I set the field "idnumber" to "<Argument>" When I press "Add filter" Then I should <Admin's Visibility> "moodle@example.com" in the "users" "table" And I should <Teacher's Vis> "Teacher" in the "users" "table" And I should <S1's Vis> "Student1" in the "users" "table" And I should <S2's Vis> "Student2" in the "users" "table" And I should <S3's Vis> "Student3" in the "users" "table" Examples: | Category | Argument | Admin's Visibility | Teacher's Vis | S1's Vis | S2's Vis | S3's Vis | | contains | 0 | not see | see | see | see | see | | doesn't contain | 2 | see | not see | see | not see | see | | is equal to | 2000000 | not see | not see | not see | see | not see | | starts with | 0 | not see | see | see | not see | not see | | ends with | 0 | not see | not see | not see | see | see |
Upload File
Create Folder