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

Backend - Aged to lost: Prevent change due date

    XMLWordPrintable

Details

    • Core: F - Sprint 95
    • 3
    • Prokopovych

    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

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                bohdan-suprun Bohdan Suprun
                hollyolepm Holly Mistlebauer
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases