Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-211

Backend: Override loan policy when item is not loanable

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 16.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      EPAM-Veg Sprint 12, EPAM-Veg Sprint 13
    • Story Points:
      5
    • Development Team:
      Vega

      Description

      1. Scenario
        • Given a loan policy with the Loanable box unchecked
        • When an attempted check out triggers that loan policy
        • Then display the Item is not loanable modal
          • Modal header: Item is not loanable
          • Modal body: <title of item> (<material type of item>) (Barcode: <item barcode>) is not loanable according to the <title of loan policy> loan policy.
          • Modal controls:
            • Override (default styling)
            • Close (primary styling)
      2. Scenario
        • Given the Item is not loanable modal (Scenario 1)
        • When the Override button is clicked
        • Then display the Override loan policy modal
          • Modal header: Override loan policy
          • Modal body:
            • <title of item> (<material type of item>) (Barcode: <item barcode>) will be checked out.
            • Date selector (required, no default)
            • Time selector (required, default 11:59 PM)
            • Comment field (required, no default)
          • Controls:
            • Cancel (default styling)
            • Save & Close (primary styling)
      3. Scenario
        • Given the Item is not loanable modal (Scenario 1)
        • When the Close button is clicked
        • Then close modal without checking out item
      4. Scenario
        • Given the Override loan policy modal (Scenario 2)
        • When the user clicks Cancel
        • Then close the modal and return to Check Out screen, without checking out the item
      5. Scenario
        • Given the Override loan policy modal (Scenario 2) with required elements completed
        • When the user clicks Save & Close
        • Then:
          • Close the modal
          • Display item in list of checked out items
            • Due Date: use date entered in Override loan policy modal
            • Time: use time entered in Override loan policy modal
            • Loan policy: use name of loan policy that the user overrode
      6. Scenario
        • Given a loan that has been checked out through policy override
        • When viewing loan details
        • Then:
          • Display due date as due date and time entered in Override loan policy modal
          • Display and link to loan policy that the user overrode
          • In the actions table, display the check out:
            • Action: Checked out through override
            • Due date: use due date and time the user entered at check out
            • Comment: use the comment the user entered at check out

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Tur Dmytro Tur
                Reporter:
                ecboettcher Emma Boettcher
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases