Displaying problems
Background:
- Given I am Pius
Scenario: Showing problems in an order when a model is not avaiable
#Given ich editiere eine Bestellung die nicht in der Vergangenheit liegt
- Given I edit an order
- And a model is no longer available
- Then I see any problems displayed on the relevant reservations
- And the problem is displayed as: "
Nicht verfügbar 2(3)/7" - And "
2" are available for the user, also counting availability from groups the user is member of - And "
3" are available in total, also counting availability from groups the user is not member of - And "
7" are in this inventory pool (and borrowable)
Scenario: Showing problems in an order when taking back a defective item
- Given I take back an item
- And one item is defective
- Then the affected item's line shows the item's problems
- And the problem is displayed as: "
Gegenstand ist defekt"
Scenario: Showing problems when handing over a defective item
- Given I am doing a hand over
- And one item is defective
- Then the affected item's line shows the item's problems
- And the problem is displayed as: "
Gegenstand ist defekt"
Scenario: Displaying problems with incomplete items during take back
- Given I take back an item
- And one item is incomplete
- Then the affected item's line shows the item's problems
- And the problem is displayed as: "
Gegenstand ist unvollständig"
Scenario: Showing problems when handing over an item that is not borrowable
- Given I am doing a hand over
- And one item is not borrowable
- Then the affected item's line shows the item's problems
- And the problem is displayed as: "
Gegenstand nicht ausleihbar"
Scenario: Showing problems when taking back an item that is not borrowable
- Given I take back an item
- And one item is not borrowable
- Then the affected item's line shows the item's problems
- And the problem is displayed as: "
Gegenstand nicht ausleihbar"
Scenario: Showing problems when item is not available while handing over
- Given I am doing a hand over
- And a model is no longer available
- Then the last added model line shows the line's problem
- And the problem is displayed as: "
Nicht verfügbar 2(3)/7" - And "
2" are available for the user, also counting availability from groups the user is member of - And "
3" are available in total, also counting availability from groups the user is not member of - And "
7" are in this inventory pool (and borrowable)
Scenario: Showing problems when item is not available while taking back
- Given I open a take back, not overdue
- And a model is no longer available
- Then I see any problems displayed on the relevant reservations
- And the problem is displayed as: "
Nicht verfügbar 2(3)/7" - And "
2" are available for the user, also counting availability from groups the user is member of - And "
3" are available in total, also counting availability from groups the user is not member of - And "
7" are in this inventory pool (and borrowable)
Scenario: Problemanzeige bei Aushändigung wenn Gegenstand unvollständig
- Given I am doing a hand over
- And one item is incomplete
- Then the affected item's line shows the item's problems
- And the problem is displayed as: "
Gegenstand ist unvollständig"
Scenario: Showing problems during take back if overdue
- Given I take back a late item
- Then the affected item's line shows the item's problems
- And the problem is displayed as: "
Überfällig seit 6 Tagen"
Source: features/manage/displaying_problems.feature at commit eb240d9e, Leihs (GPL license).