Aged to lost: Prevent change due date

Description

SAME SCENARIOS AS WITH DECLARED LOST

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

Scenarios:

  1. Scenario

    • Given an item with the status Aged to lost

    • When viewing loan details for that loan

    • Then disable the Change due date button

  2. Scenario

    • Given an item with the status Aged to 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 Aged to lost

    • When only loans for items with the status Aged to 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 Aged to lost

    • When at least one loan for an item with the status Aged to 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 Aged to lost item in the modal

    • Then display the following message in the Alert details column for each Aged to lost item:

      • Item is Aged to 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 Aged to lost are checked in the modal

    • Then disable the Save and close button

  7. Scenario

    • Given the Change due date modal, with at least one loan with the status Aged to 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 Aged to lost item

      • Due date change failed: item is Aged to 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 Aged to lost status, the presence of a recall on the item does not prevent the user from changing the due date for the loan.

Environment

None

Potential Workaround

None

Attachments

4

Checklist

hide

TestRail: Results

Activity

Show:

Emma Boettcher October 8, 2020 at 5:16 PM

Tested on folio-snapshot as diku_admin

Matt Connolly October 7, 2020 at 7:19 PM

My fault – I didn't expect you to come test it so promptly!

Emma Boettcher October 7, 2020 at 7:07 PM

oh sorry, misinterpreted your comment above. Yes, will test tomorrow.

Matt Connolly October 7, 2020 at 6:30 PM

The change was just made a couple of hours ago; it may not have reached snapshot yet. Maybe try again tomorrow?

Emma Boettcher October 7, 2020 at 6:19 PM

offered to test this for Holly since I had an aged to lost item handy. Looks like the failure message isn't displaying in the last scenario:

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Prokopovych

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created February 26, 2020 at 11:06 PM
Updated October 16, 2020 at 10:53 AM
Resolved October 8, 2020 at 5:16 PM
TestRail: Cases
TestRail: Runs