Uploaded image for project: 'ui-checkout'
  1. ui-checkout
  2. UICHKOUT-630

Custom item status: check out settings

    XMLWordPrintable

Details

    • Story
    • Status: Draft (View Workflow)
    • P3
    • Resolution: Unresolved
    • None
    • None
    • None
    • Vega

    Description

      Purpose

      Assumptions

      • We assume the existence of an item status reference record (UXPROD-1927) with attributes relative to check out behavior
        • "allowCheckout" - if TRUE, check out is allowed, if FALSE, checkout is denied.
        • "requireConfirmation" - if allowCheckout = TRUE and requireConfirmation = FALSE, check out is allowed with current behavior. If allowCheckout = TRUE and requireConfirmation = TRUE, then the FOLIO user must confirm checkout through a modal.
        • "notifySuppressedFromDiscovery" - if "allowCheckout" = TRUE and "notifySuppressedFromDiscovery" = TRUE, then a modal is presented to notify the FOLIO user that the item is suppressed from discovery. If "allowCheckout" = TRUE and "notifySuppressedFromDiscovery" = FALSE, then that notification is not displayed.

      User story statement:
      As a....
      I want....
      So that....

      Scenarios

      1. Scenario
        • Given an item X being checked out in the Check out app with an item status of 'A'
        • When the item status has a value "allowCheckOut" = FALSE,
        • FOLIO denies the check out and displays an alert modal =
          • Header: Item is <status A>
          • Body: Item has item status <A> and cannot be checked out.
          • Buttons:
            • Close
      2. Scenario
        • Given an alert that the item cannot be checked out because of item status 'A'
        • When the user clicks Close
        • Then close the modal, and do not check the item out
      3. Scenario
        • Given an item XYZ being checked out in the Check out app with an item status of 'B'
        • And item status 'B' has "allowCheckout" = TRUE, "requireConfirmation" = FALSE, and item XYZ is not suppressed from discovery,
        • Then the item check out proceeds according to system circulation rules.
      4. Scenario
        • Given an item XYZ being checked out in the Check out app with an item status of 'B',
        • And item status 'B' has "allowCheckout" = "TRUE", "requireConfirmation" = "TRUE", and item XYZ is not suppressed from discovery,
        • Then display confirmation modal:
          • Title of modal: check out <item status 'B'> item?
          • Text of modal: <item title> (<item's material type>) (Barcode: <item barcode>) has the item status <custom item status B>.
          • Modal buttons: Cancel, Confirm
      5. Scenario
        • Given a user viewing the confirmation modal for checking out the item with item status 'B',
        • When the user clicks Cancel on the confirmation modal,
        • The check out transaction stops and the modal closes, returning the user to the Check out app.
      6. Scenario
        • Given a user viewing the confirmation modal for checking out the item with item status 'B',
        • When the user clicks Confirm on the confirmation modal,
        • Then the item check out proceeds according to system circulation rules.
      7. Scenario
        • Given a user checking out item MNO with item status 'C',

      Scenarios

      1. Scenario
        • Given the Edit or New status form
        • When open
        • Then show the Apps accordion
      2. Scenario
        • Given the Apps accordion on the Edit or New status form
        • When open
        • Then show the Check Out settings
          • Heading: Check Out
          • Checkbox: Allow
      3. Scenario
        • Given the check out settings on the Edit or New status form
        • When Allow is checked
        • Then show an additional checkbox:
          • Checkbox: Require confirmation
          • Checkbox: Notify if suppressed from discovery
      4. Scenario
        • Given the Statuses section of Inventory settings
        • When viewing a custom item status
        • Then show the open Apps accordion, with inactive checkboxes under Check Out
      1. Scenario
        • Given an item that is not suppressed from discovery, with custom item status X with the following configuration of Check Out settings:
          • Allow: checked
          • Require confirmation: unchecked
          • Notify if suppressed from discovery: unchecked
        • When that item is checked out in the Check out app
        • Then allow check out, without alerting user of item status or requiring to confirm
      2. Scenario
        • Given an item that is suppressed from discovery, with custom item status X with the following configuration of Check Out settings:
          • Allow: checked
          • Require confirmation: unchecked
          • Notify if suppressed from discovery: unchecked
        • When that item is entered in the Check Out app
        • Then allow check out, without alerting user of item status or requiring to confirm
      3. Scenario
        • Given an item with custom item status X with the following configuration of Check Out settings:
          • Allow: checked
          • Require confirmation: checked
          • Notify if suppressed from discovery: unchecked
        • When that item is entered in the Check Out app
        • Then display confirmation modal:
          • Title of modal: check out <custom item status X> item?
          • Text of modal: <item title> (<item's material type>) (Barcode: <item barcode>) has the item status <custom item status X.
          • Modal buttons: Cancel, Confirm
      4. Scenario
        • Given an item that is suppressed from discovery with custom item status X with the following configuration of check out settings:
          • Allow: checked
          • Require confirmation: checked
          • Notify if suppressed from discovery: unchecked
        • When that item is entered in the Check Out app
        • Then display confirmation modal:
          • Title of modal: check out <custom item status X> item?
          • Text of modal: <item title> (<item's material type>) (Barcode: <item barcode>) has the item status <custom item status X.
          • Modal buttons: Cancel, Confirm
      5. Scenario
        • Given an item that is not suppressed from discovery, with custom item status X with the following configuration of check out settings:
          • Allow: checked
          • Require confirmation: checked
          • Notify if suppressed from discovery: checked
        • When that item is entered in the Check Out app
        • Then display confirmation modal:
          • Title of modal: check out <custom item status X> item?
          • Text of modal: <item title> (<item's material type>) (Barcode: <item barcode>) has the item status <custom item status X.
          • Modal buttons: Cancel, Confirm
      6. Scenario
        • Given an item that is suppressed from discovery, with custom item status X with the following configuration of check out settings:
          • Allow: checked
          • Require confirmation: checked
          • Notify if suppressed from discovery: checked
        • When that item is entered in the Check Out app
        • Then display confirmation modal:
          • Title of modal: check out <custom item status X> item?
          • Text of modal: <item title> (<item's material type>) (Barcode: <item barcode>) has the item status <custom item status X and is suppressed from discovery.
          • Modal buttons: Cancel, Confirm
      1. Scenario
        • Given a check out confirmation modal
        • When the user clicks cancel
        • Then stop check out process and do not check out the item
      2. Scenario
        • Given a check out confirmation modal
        • When the user clicks confirm
        • Then continue checking in the item
      3. Scenario
        • Given an item that is not suppressed from discovery with custom item status X with the following configuration of check out settings:
          • Allow: checked
          • Require confirmation: unchecked
          • Notify if suppressed from discovery: checked
        • When that item is entered in the Check Out app
        • Then continue check out without alert
      4. Scenario
        • Given an item that is suppressed from discovery with custom item status X with the following configuration of check out settings:
          • Allow: checked
          • Require confirmation: unchecked
          • Notify if suppressed from discovery: checked
        • When that item is entered in the Check Out app
        • Then display alert modal:
          • Title of modal: check out suppressed item
          • Text of modal: <item title> (<item's material type>) (Barcode: <item barcode>) is suppressed from discovery.
          • Modal buttons: Close
      5. Scenario
        • Given the suppressed from discovery alert
        • When the user clicks Close
        • Then continue checking in the item

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ecboettcher Emma Boettcher
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases