Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-1565

Create/Edit/View User record | Custom Field | Single select dropdown

    XMLWordPrintable

Details

    • eHoldings Sprint 87
    • 5
    • Spitfire

    Description

      Requirement

      • Display single select on Create/Edit/View user record when the custom field is set to Not Hidden
      • Show all options
      • If no option has been selected then on View record display "-" and offscreen text "No value set"
      • Create/Edit user record: If single select dropdown is not required OR has no default option selected then display as the first option [Select a <<custom field label>>]
      • Create/Edit user record:*If [Select a <<custom field label>>] is selected then it is the same as blank/null and the *View record should display "-" and offscreen text "No value set"

      Screenshot

      Acceptance criteria

      Given I am on a Create/Edit User record
      When a single select custom field is set to Not Hidden
      Then single select custom field should display on the Create/Edit/View User record

      Given I am on a Create/Edit User record
      When single select custom field = Departments
      Then show all options setup in Settings > Users > Custom Field > Departments

      Given I am on the Create/Edit User Record
      When a new option has been added via Users > Custom fields
      Then that new option should display on a record

      Given I am on the Create/Edit User Record
      When I edit an option via Users > Custom fields
      Then that update should be reflected on Create/Edit/View user record

      If I have selected a single select option on the Create/Edit record
      Then the selection should be reflected on View User record

      If I have not selected a single select option on the Create/Edit record
      Then the View record should display " - " and offscreen text should read "No value set"

      Given I am on a Create/Edit record
      When single select custom field has help text
      Then show the info icon and clicking on the icon should display the help text

      Given I am on a Create/Edit record
      When single select custom field is required
      Then show a red asterisk

      Given I am on a Create/Edit record
      When I do not select an option for a required single select custom field
      Then display a message inline Field is required

      Given the custom field default option has changed
      When I view a record that has not set a value for that custom field
      Then the View record should display " - " and offscreen text should read "No value set"

      Given the custom field default option has changed
      When I Edit a record that has not set a value for that custom field
      Then the Edit record should reflect the changed custom field default option

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Denys Bohdan Denys Bohdan
                kgambrell Khalilah Gambrell
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases