HEX
Server: LiteSpeed
System: Linux server.zepintelhosting.com 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: enamadmin (1026)
PHP: 8.2.30
Disabled: exec,system,passthru,shell_exec,proc_nice,proc_terminate,pfsockopen,dl,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname,leak,apache_child_terminate
Upload Files
File: /home/enamadmin/public_html/aaelearningb/user/tests/behat/custom_profile_fields_manual.feature
@core @core_user
Feature: Custom profile fields creation using UI

  @javascript
  Scenario Outline: Manual creation of basic custom profile fields
    Given I log in as "admin"
    And I navigate to "Users > Accounts > User profile fields" in site administration
    And I click on "Create a new profile field" "link"
    And I click on "<name>" "link"
    And I set the following fields to these values:
      | Short name                    | <shortname>  |
      | Name                          | <name>  |
    When I click on "Save changes" "button"
    Then I should see "<name>"

    Examples:
      | shortname | name       |
      | checkbox  | Checkbox   |
      | datetime  | Date/Time  |
      | textarea  | Text area  |
      | textinput | Text input |

  @javascript
  Scenario: Manual creation of drop-down menu custom profile field type
    Given I log in as "admin"
    And I navigate to "Users > Accounts > User profile fields" in site administration
    And I click on "Create a new profile field" "link"
    And I click on "Drop-down menu" "link"
    And I set the following fields to these values:
      | Short name  | dropdownmenu   |
      | Name        | Drop-down menu field |
    And I set the field "Menu options (one per line)" to multiline:
    """
    a
    b
    """
    When I click on "Save changes" "button"
    Then I should see "Drop-down menu field"

  @javascript
  Scenario: Manual creation of social custom profile field type
    Given I log in as "admin"
    And I navigate to "Users > Accounts > User profile fields" in site administration
    And I click on "Create a new profile field" "link"
    And I click on "Social" "link"
    And I set the following fields to these values:
      | Network type  | Web page  |
      | Short name    | social    |
    When I click on "Save changes" "button"
    Then I should see "Web page"