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

Input types: Single Select, Multi-Select, Radio button: Each option should have a code field

    XMLWordPrintable

Details

    • 2
    • Spitfire

    Description

      Requirements

      • Applicable to these input types: Single select, Multi-Select, Radio button
      • Each option Code is required and character limit []
      • Each option Code must be unique
      • Each option code is required

      Acceptance Criteria - Add/Edit an option

      Given I am on the Edit Custom field page
      When I select the input type = Single select, Multi-select, radio button
      AND click Add option
      Then I should be able to set an option label and code

      Given I am on the Edit Custom field page
      When I select the input type = Single select, Multi-select, radio button
      AND I edit an option
      Then I should be able to edit an option label and edit code

      Acceptance Criteria - Code

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

      Given I have entered [FRA] for the Code field
      When I clear Code field
      Then display an inline error message - [Code is required.]

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

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases