Backend - Aged to lost: Renewal (staff only)

Description

SAME SCENARIOS AS WITH DECLARED LOST

  1. Scenario

    • Given an item that is Aged to lost

    • When a user attempts to renew the item

    • Then fail the renewal

      • Renewal failure message: Item not renewed: item is Aged to lost

      • Allow user to override

  2. Scenario

    • Given an item that is Aged to lost and has failed to renew for that reason and only that reason

    • When a user clicks the override button

    • Then display the renewal override modal

      • New due date: Due date will be calculated automatically

  3. Scenario

    • Given an item that is Aged to lost and has failed to renew for that reason and only that reason

    • When a user completes the renewal override

    • Then:

      • Change the item's due date to what it would be if the item was not Aged to lost

      • Change the item's status to Checked out

  4. Scenario

    • Given an item that was Aged to lost and was renewed

    • When viewing loan details

    • Then:

      • Lost field should be populated with -

      • corresponding row of action table should have the following values:

        • Action date: <date and time item was renewed>

        • Action: Renewed through override

        • Due date: <resulting due date from renewal>

        • Item status: Checked out

        • Source: <operator who renewed item>

          • format: Last name, firstname middlename

          • link to user profile

        • Comments: <additional information entered at renewal>

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Bohdan Suprun August 12, 2020 at 8:15 AM

Merged to master, closing as dev only.

Done

Details

Assignee

Reporter

Tester Assignee

Labels

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:36 PM
Updated August 21, 2020 at 8:56 AM
Resolved August 12, 2020 at 8:15 AM
TestRail: Cases
TestRail: Runs

Flag notifications