Uploaded image for project: 'stripes-smart-components'
  1. stripes-smart-components
  2. STSMACOM-445

CLONE - Aged to lost: Prevent change due date

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • 5.0.0
    • Core: F - Sprint 96, Core: F - Sprint 97, Core: F - Sprint 98, Core: F - Sprint 99
    • 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

      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.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mattjlc Matt Connolly
                mattjlc Matt Connolly
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases