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

Apply Custom Field page components (text field, text box, and Accordion label) to User Record (Create/Edit/View)

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      eHoldings Sprint 84
    • Story Points:
      8
    • Development Team:
      Spitfire

      Description

      As a library staff member that uses FOLIO
      I want to enter values for fields that are important to my library to track on patrons

      Implementation

      • Apply components from Stripes smart components repository onto Create/Edit/View user record.

      Create/Edit

      View

      • If a custom field has been created and set to show then display the Custom fields accordion on the View User Record
      • Accordion should display <<Settings > Users > Custom fields > Section title value>>
      • Only display custom fields where Hidden = No
      • Grid display in the same manner as other accordions that contain checkboxes, text boxes, single select and multi select
      • If no value set then display a dash and make sure that when a user focuses on the dash that a screenreader can read 'No value set'

      Create/Edit User record Screenshot

      View User record

      Acceptance Criteria

      Given I am creating/editing a user record
      When a custom field has been created in Settings and Hidden = No (not checked)
      Then display the Custom field accordion and all custom fields set to show on a user record

      Given I am creating/editing a user record
      When all custom fields created in Settings have been set to Hidden = Yes (checked)
      Then do not display the Custom field accordion on a user record

      Given I am creating/editing a user record
      When no custom field has been created in Settings
      Then do not display the Custom field accordion on a user record

      Given I am creating/editing a user record
      When I enter a value for a custom field
      AND hit Save
      Then the value should display on View mode - user record

      Given I am creating/editing a user record
      When custom fields display
      Then the grid display should be no different than other non-custom fields

      Given I am viewing a user record
      When custom fields display
      Then the grid display should be no different than other non-custom fields

      Given I am creating/editing a user record
      When a custom field is required
      Then display a red asterisk to the right of the field label

      Given I am creating/editing a user record
      When a custom field has help text
      Then show an info popup that displays the help text

      Given I am on the Create/Edit user record
      AND custom field A is required
      When I do not enter a value
      Then display an error message [<<field label>> is required.]

      Given I am on the Create/Edit user record
      When Custom field is a text field
      AND value exceeds character limit
      Then display an error message [<<field label>> character limit has been exceeded. Please revise.]

      Given I am on the Create/Edit user record
      When Custom field is a text area
      AND value exceeds character limit
      Then display an error message [<<field label>> character limit has been exceeded. Please revise.]

      Given I have not set a value for a custom field
      When I view the User record
      Then display a dash and make sure that when a user focuses on the dash that a screenreader can read 'No value set'

      Given I delete Custom Field A in Settings > Users > Custom field
      When I create/edit/view a user record
      Then I should not see Custom Field A

      Given I have create/edit/view User record permissions
      Then I should be able to enter/view custom field values on a user record

      Given I have no create/edit/view User record permissions
      Then I should not be able to enter/view custom field values on a user record ... since I cannot create/edit/view a user record

      Given I have view User record permission
      Then I should be able to view custom fields on a user record

      Given I have no view User record permission
      Then I should not be able to view custom fields on a user record ... since I cannot view the user record

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                vladyslav_velytskyi Vladyslav Velytskyi
                Reporter:
                kgambrell Khalilah Gambrell
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases