Uploaded image for project: 'ui-organizations'
  1. ui-organizations
  2. UIORGS-30

Handle vendor checkbox change in "edit organization" screen for organizations

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      ACQ Sprint 69
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Purpose: To deal with cases when an organization changes to or from being a vendor.

      As a staff person
      I want to be able to edit organizations in FOLIO and designate some of them as vendors
      So that I can enter necessary information for vendors, but not have that additional information required for non-vendor organizations.

      NOTE This may be edge case, so lower priority than other UIORGS stories

      Scenarios

      1. Scenario 1
        • Given the Edit Organizations (previously vendor) screen
        • When the user changes the "Vendor" checkbox from unchecked to checked
        • Then show all accordions (unsuppress the Vendor information, Vendor terms, EDI information, and Accounts accordions)
        • And impose the required data elements as indicated in those accordions before an updated Organization record can be saved
      2. Scenario 2
        • Given the Edit Organizations screen
        • When the user changes the "Vendor" checkbox from checked to unchecked
        • Then display a warning modal similar to the one below
          • Header: Confirm vendor data deletion
          • Text: WARNING All Vendor information, Vendor terms, EDI information, and Accounts will be deleted from this record.
          • Buttons: Cancel [make this the default] and Confirm
      3. Scenario 3
        • Given the warning modal
        • When the user clicks Cancel
        • Then close the modal
        • And leave the "Vendor" checkbox checked
        • And do not delete any information from the Vendor accordions (Vendor info, Vendor terms, EDI info, Accounts)
      4. Scenario 4
        • Given the warning modal
        • When the user clicks Confirm
        • Then close the modal
        • And uncheck the "Vendor" checkbox
        • And suppress the Vendor information, Vendor terms, EDI information, and Accounts accordions from display
        • And do not make any of the elements in those accordions required when saving the updated organization record
        • And delete the existing information in the suppressed accordions from the UI and the backend
      5. Scenario 5
        • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                dennisbridges Dennis Bridges
                Tester Assignee:
                Ann-Marie Breaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases