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

Custom Field: Input Type: Multi-select dropdown

    XMLWordPrintable

Details

    • eHoldings Sprint 87
    • 5
    • Spitfire

    Description

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

      Screenshot

      Settings > Users > Custom fields View page handling Multi-select dropdown

      • Display all options in a MCL as read-only

      Create/Edit Multi-select dropdown Settings Requirement

      • Has the following fields: Hidden, Required, Field label, and Help text
      • Allow user to add 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

      Acceptance Criteria

      Given I am on the Edit Custom field page
      When I select the input type = Multi-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 am on the Create/Edit Custom field page for [Student type] multi-select dropdown
      When an option is not saved to any record
      Then display a remove button

      Given I have entered [Major] for the multi-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 - Multi-select dropdown options requirements - option label

      Given I am on the Edit Custom field page
      When I select the input type = Multi-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 = Multi-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 multi-select dropdown 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 multiple options set 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
            68 kB
          4. screenshot-4.png
            screenshot-4.png
            21 kB
          5. screenshot-5.png
            screenshot-5.png
            71 kB

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases