Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-881

Frontend: Renewal behavior for loan that's not loanable

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 2.21.0
    • None
    • EPAM-Veg Sprint 10, EPAM-Veg Sprint 11
    • 5
    • Vega

    Description

      Purpose: Because of changes in loan policy or because a non-loanable loan policy has been overridden at check out, a loan may exist even though the associated loan policy says that it is not loanable. Users should initially be prevented from renewing these items, but have the opportunity to override the renewal failure. This story specifies the failure reason for that situation but is otherwise similar to previous renewal overrides.

      1. Scenario Modal pattern adjusted based on other conversations for UXPROD-1609
        • Given a user’s open loans, and a loan with a loan policy that says a loan is not loanable
        • When the user selects Renew from the actions menu
        • Then the renewal should fail, and the Loan not renewed popup should display (example attached for a different failure reason)
          • Header: Loan not renewed
          • Body: Loan cannot be renewed because: item is not loanable. Please review <name of loan policy> before retrying renewal.
          • Buttons:
            • Close (use primary styling, rightmost - note that this differs from example attached)
            • Override (use default styling, left of Close button - differs from example attached)
      2. Scenario
        • Given a user’s open loans, and a loan with a loan policy that says a loan is not loanable
        • When the user attempts to renew the loan as part of a bulk renewal
        • Then the renewal of that loan should fail, and the loan should display as a loan in the bulk renewal popup
          • In the renewal status column, display: Item not renewed: item is not loanable
          • Display Override button
      3. Scenario Modal pattern adjusted based on other conversations for UXPROD-1609
        • Given a loan details screen for a loan with a loan policy that says a loan is not loanable
        • when the user attempts to renew the loan
        • then the renewal should fail, and the Loan not renewed popup should display
        • Then the renewal should fail, and the Loan not renewed popup should display (example attached for a different failure reason)
          • Header: Loan not renewed
          • Body: Loan cannot be renewed because: item is not loanable. Please review <name of loan policy> before retrying renewal.
          • Buttons:
            • Close (use primary styling, rightmost - note that this differs from example attached)
            • Override (use default styling, left of Close button - differs from example attached)
      4. Scenario
        • Given a failed renewal for a loan with a loan policy that says the loan is not loanable
        • When the user clicks override
        • Then display the override renewal window with a due date selector (required), comment (required) and certain fields populated as follows:
          • Renewal status: Item not renewed: item is not loanable
          • New due date: Select due date above
      5. Scenario
        • Given the override window for an attempted renewal on a loan that says the loan is not loanable, with the required information completed
        • When the user clicks Override
        • Then:
          • increment the number of renewals on the loan by 1
          • assign new due date user selected to the item

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases