Uploaded image for project: 'ui-checkin'
  1. ui-checkin
  2. UICHKIN-49

Check In Behavior for Items In Transit (for Request)

    XMLWordPrintable

Details

    • Core: F - Sprint 57, Core: F - Sprint 58
    • 8
    • Prokopovych

    Description

      Purpose: To add a check in modal and appropriate status change behaviors when an item becomes "In Transit" for a Request or is already "In transit " for a request and is run through check in.

      • As a user who is checking in an item that needs to go "In transit" to another service point for a request
      • I want FOLIO to put the item in transit to its desired service point (e.g. change state, print slip, generate modal dialogue etc.)
      • So I know what to do to fill the request

      Scenarios:

      1. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = Checked out
        • When Item X is checked in at a service point other than SP1
        • Then:
          • "In transit for a request" Generic "In transit" modal should display with
            • Title of modal: In transit for a request
            • Body of modal: Route <title of item> (<material type of item>) (Barcode: <barcode of item>) to <pick up service point> for a request.
            • Controls:
              • Print slip - Checkbox (printing of slip covered by UICHKIN-70)
              • Close - Button CB: The button changes from Close to Confirm when you check/uncheck the print slip box. See screencast: https://www.screencast.com/t/IfpmpCci
              • X on window for closing (same as Close)
          • Item status should change from "Checked out" to "In transit"
          • Request status should change from "Open - Not yet filled" to "Open - In transit"
          • Hold shelf expiration date should not be set CB: Moved to UIREQ-144
      2. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = In transit
        • When Item X is checked in at a service point other than SP1
        • Then:
          • "In transit for a request" Generic "In transit" modal should display with
            • Title of modal: In transit for a request
            • Body of modal: Route <title of item> (<material type of item>) (Barcode: <barcode of item>) to <pick up service point> for a request.
            • Controls:
              • Print slip - Checkbox (printing of slip covered by UICHKIN-70)
              • Close - Button
              • X on window for closing (same as Close)
          • Item status should stay "In transit"
          • Request status should stay "Open - In transit"
          • Hold shelf expiration date should not change CB: Moved to UIREQ-144
      3. Scenario
        • Given User A has a request on Item X with Pickup service point = SP1 AND User A's request is at the top of the request queue AND Item status = Awaiting pickup at Service point 1
        • When Item X is checked in at a service point other than Service Point 1
        • Then:
          • "In transit for a request" Generic "In transit" modal should display with
            • Body of modal: Route <title of item> (<material type of item>) (Barcode: <barcode of item>) to <pick up service point> for a request.
            • Controls:
              • Print slip - Checkbox (printing of slip covered by UICHKIN-70)
              • Close - Button
              • X on window for closing (same as Close)
          • Item status should change from "Awaiting pickup" to "In transit"
          • Request status should change from "Open - Awaiting pickup" to "Open - In transit"
          • Hold shelf expiration date should clear out, as it's no longer on the hold shelf CB: Moved to UIREQ-144
      4. Scenario
        • Given Item X is "In transit" to SP1 for pickup by User A
        • When Item X is checked out to User A at a Service Point other than SP1
        • Then checkout should be successful*
      5. Scenario
        • Given an item is in transit to its "home" service point so it can be reshelved
        • When item is checked in at SP other than its home
        • Then the Generic "In transit" modal should display (CB: We have decided to align the modals for these two transit cases (transit for request and transit to home location) so we just need to make sure that the modal looks the same in both cases. More detailed scenarios for testing this can be found in UICHKIN-41, if needed)

      Extra Scenarios to Test (Should Already Work/Are Covered by Other Stories):

      1. Scenario (covered by UICHKIN-50)
        • Given Item X is "In transit" to SP1
        • When checked in at SP1
        • Then:
          • "Awaiting pickup for a request" modal should display
          • Item status should change from "In transit" to "Awaiting pickup"
          • Request status should change from "Open - In transit" to "Open - Awaiting pickup"
            • Hold shelf expiration date should set to today's date + period (initially hardcoded to 14 days per UIREQ-144 but will eventually come from request policy) (covered by UIREQ-144)- CB: Moved to UIREQ-144
      2. Scenario (entire scenario covered by UICHKOUT-406)
        • Given Item X is "Awaiting pickup" by User A
        • When check out to a different user is attempted (regardless of service point)
        • Then:
          • Checkout should not be allowed
          • "Awaiting pickup for another patron" modal should appear
      3. Scenario (should already work)
        • Given Item X is "Awaiting pickup" by User A at SP1
        • When Item X is checked out to User A at SP1
        • Then checkout should be successful*
      4. Scenario (should already work)
        • Given Item X is "Awaiting pickup" by User A at SP1
        • When Item X is checked out to User A at a Service Point other than SP1
        • Then checkout should be successful*

      *NOTE: Successful checkouts to requester should result in the following (this should already work):

      • Item status changes to "Checked out"
      • Request status should change to "Closed - Filled"

      Mockups: https://drive.google.com/file/d/1WVjFqeRwnddAxFqTfXsB5yzjE_qvFHHV/view?usp=sharing

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adityamatukumalli Aditya matukumalli
                cboerema Cate Boerema
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases