Logo: Relish

  1. Sign in

Project: Borrow-manage-1

Retire item

Scenarios
Retire
Given
I am Matti
And
I pick a object that is in stock and that the current inventory pool is the owner of
Then
I can retire this object if I give a reason for retiring
And
the newly retired object immediately disappears from the inventory list
Examples:
object
item
license
Preventing retiring an object that isn't in stock
Given
I am Mike
And
I pick a object that is not in stock
Then
I cannot retire such a object
Examples:
object
item
license
Preventing retiring an object I'm not the owner of
Given
I am Matti
And
I pick a object the current inventory pool is not the owner of
Then
I cannot retire such a object
Examples:
object
item
license
Error when trying to retire without giving a reason
Given
I am Matti
And
I pick a object that is in stock and that the current inventory pool is the owner of
And
I don't give any reason for retiring this item
And
the object is not retired
Examples:
object
item
license
Unretiring an item
Given
I am Mike
And
I pick a retired object that the current inventory pool is the owner of
And
I go to this object's edit page
When
I unretire this object
And
I save
Then
I am redirected to the inventory list
And
this object is not retired
Examples:
object
item
license
How retired items are displayed in a responsible department/inventory pool
Given
I am Mike
And
I pick a retired object that the current inventory pool is responsible for but not the owner of
Then
I go to this object's edit page
Examples:
object
item
license

Last published over 3 years ago by mkmit.