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

Custom Field: Input Option: Radio button set

    XMLWordPrintable

    Details

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

      Description

      As a librarian
      I want to create custom field with the input type = radio button set
      So that I can track information that requires choosing one option

      Radio button group settings

      • Display these settings: Hidden, Field label, Help text
      • Display an [Add option] button Can we display the number of remaining options one can add to the button link text?
      • Click [Add option] button will display a new row under the Options section
      • Option displays the following fields: Label
        • Option Label is required
      • Able to set a default option and able to reset to no default option
        • default to no default option

      Settings > Custom field > Radio button Screenshot

      Option requirements

      • Option label is a required field AND Option label character limit = 65
      • If a user adds 5 options then disable the Add option button. Display a message [Can only add up to five options.] Only do this if we cannot support displaying a count with the Add option button

      Settings > Users > Custom fields View page handling radio button set options

      • Display all options in a MCL as read-only

      Acceptance Criteria - Add custom field dropdown

      Given I click Add custom field dropdown
      When I expand the dropdown
      Then the input type = radio button set displays

      Given I click Add custom field dropdown
      When I select radio button set
      Then display a new accordion and show radio button set settings

      Acceptance Criteria - Radio button set field settings

      Given I have entered [Language] for the radio button set Field label
      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 radio button set Field label
      Then display an inline error message <<#of characters max limit>> has been exceeded.

      Given I have created/edited a custom field radio button set [Language]
      When I hit Save
      AND have not selected the Hidden checkbox
      Then the field should display on the record type(s) that I have specified

      Given I have created/edited a custom field radio button group [Language]
      When I check the Hidden checkbox
      AND hit Save
      Then the field should not display on any record
      AND show on the accordion Language * Radio button set * (Hidden)

      Given I enter help text for the custom field radio button group [Commuter Student] on the User Record
      When I create/edit a user record
      Then display the info icon to the right of [Commuter Student] that contains the help text

      Given I have entered more than 100 characters for Help text
      Then display an inline error message <<#of characters max limit>> has been exceeded. Please revise.

      Acceptance Criteria - Radio button set options requirements - number of options and option labels

      Given I am on the Edit Custom field page
      When I select the input type = Radio button set
      Then allow me to specify up 5 radio button options to display on a record

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

      Given I have accessed the custom field Primary affiliated college
      AND the input type = Radio button set
      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 radio button set option label
      Then display an inline error message <<#of characters max limit>> has been exceeded.

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

      Given I have entered [Language] for the radio button set Option label
      When [Language] 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
            20 kB
          2. screenshot-3.png
            screenshot-3.png
            70 kB
          3. screenshot-4.png
            screenshot-4.png
            123 kB

            Issue Links

              Activity

                People

                Assignee:
                MaksymDryha Maksym Dryha
                Reporter:
                kgambrell Khalilah Gambrell
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases