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

Declared lost item: Prevent change due date

    XMLWordPrintable

Details

    • Core: F - Sprint 82, Core: F - Sprint 83
    • 8
    • Prokopovych

    Description

      Purpose: Prevent users from changing the due date on an item that is declared lost.

      Scenarios

      1. Scenario
        • Given an item with the status Declared lost
        • When viewing loan details for that loan
        • Then disable the Change due date button
      2. Scenario
        • Given an item with the status Declared lost, and a user's loan history showing open loans, including the loan for that item
        • When the action menu for the loan is open
        • Then do not show the Change due date option
      3. Scenario
        • Given a user's loan history showing open loans, with at least one loan for an item with the status Declared lost
        • When only loans for items with the status Declared lost are checked
        • Then disable the bulk Change due date button
      4. Scenario
        • Given a user's loan history showing open loans, with at least one loan for an item with the status Declared lost
        • When at least one loan for an item with the status Declared lost is checked and at least one loan for an item with the status Checked out is checked
        • Then enable the bulk Change due date button
      5. Scenario
        • Given the Change due date modal
        • When there is at least one Declared lost item in the modal
        • Then display the following message in the Alert details column for each Declared lost item:
          • Item is Declared lost
      6. Scenario
        • Given the Change due date modal
        • When a date and time have been entered in the modal, and only items with the status Declared lost are checked in the modal
        • Then disable the Save and close button
      7. Scenario Out of scope; moved to UIU-1516
        • Given the Change due date modal, with at least one loan with the status Declared lost checked and at least one loan with the status Checked out checked, and the date and time field populated
        • When the user selects Save and close
        • Then display the following in the alert details column for each Declared lost item
          • Due date change failed: item is Declared lost

      Notes:

      • Screenshots attached indicate warning for change due date that appears in alert details column, and the success message when the due date has been changed.
      • Unlike the declared lost status, the presence of a recall on the item does not prevent the user from changing the due date for the loan.

      TestRail: Results

        Attachments

          1. changeDueDateItemWarning.PNG
            changeDueDateItemWarning.PNG
            29 kB
          2. changeDueDateSuccess.PNG
            changeDueDateSuccess.PNG
            65 kB
          3. screenshot-1.png
            screenshot-1.png
            56 kB
          4. screenshot-2.png
            screenshot-2.png
            45 kB

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases