Uploaded image for project: 'stripes-smart-components'
  1. stripes-smart-components
  2. STSMACOM-285

Custom Field: Input Type: Single select dropdown

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      eHoldings Sprint 87
    • Story Points:
      5
    • Development Team:
      Spitfire

      Description

      As a librarian
      I want to create custom field with the input type = Single select dropdown
      So that I can track information that requires choosing from several options

      Screenshot

      Settings > Users > Custom fields View page handling single select dropdown

      • Display all options in a MCL as read-only

      Create/Edit Single select dropdown Settings Requirement

      • Has the following fields: Hidden, Required, Field label, and Help text
      • Allow user to add single select options
        • Option label is required and character limit 100
        • Option label must be unique
      • Able to set a default option and able to reset to no default option
        • default to no default option (see screenshot)

      Acceptance Criteria

      Given I am on the Edit Custom field page
      When I select the input type = Single select dropdown
      Then allow me to specify options to display on a record

      Given I am on the Edit Custom field page
      When I add a new option
      Then that new option should display on a record

      Given I have entered [Major] for the single select dropdown
      When I clear Field label field
      Then display an inline error message - Field label is required.

      Given I have entered more than 65 characters in the field label
      Then display an inline error message <<#of characters max limit>> has been exceeded.

      Acceptance Criteria - Single select dropdown options requirements - option label

      Given I am on the Edit Custom field page
      When I select the input type = Single select dropdown
      AND click Add option
      Then I should be able to set an option label

      Given I have accessed the custom field Major
      AND the input type = Single select dropdown
      When I revise one of the option rows I have previously entered a row
      AND hit Save & close
      Then the option should be updated

      Given I have entered more than 65 characters in the single select option label
      Then display an inline error message <<#of characters max limit>> has been exceeded.

      Given I have entered [History] for the option label
      When I clear option label field
      Then display an inline error message - [Option label is required.]

      Given I have entered [History] for the option label
      When [History] has been saved or entered as a option label on another option
      Then display an inline error message - [Duplicate option. Please revise.]

      Given I have entered several options
      Then I should be able to have one option as the default

      Given I have entered several options
      AND I have set an option as the default
      When I no longer want to set an option
      Then allow me to reset to no default option

        TestRail: Results

          Attachments

          1. screenshot-1.png
            screenshot-1.png
            61 kB
          2. screenshot-2.png
            screenshot-2.png
            21 kB
          3. screenshot-3.png
            screenshot-3.png
            280 kB
          4. screenshot-4.png
            screenshot-4.png
            107 kB

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases