To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorBasic information for inventory pools
As a person responsible for managing inventory pools
I want to be able to change their settings and supply basic information
So that each inventory pool has all the information and settings they
need to work efficiently (e.g. opening hours, proper addresses, etc.)
- Scenarios
-
- Make basic settings
- Pflichtfelder der Grundinformationen zusammen prüfen
- Automatically grant access to new users from within my own inventory pool's settings
- Enable automatic access to a new inventory pool
- Deselect checkboxes
- Manage workdays
- Manage holidays
- Validate each field in inventory pool settings separately
- Automatically suspend users with late contracts
- Suspend users automatically only if they aren't already suspended
- Make basic settings
-
- Given
- I am Mike
- When
- I navigate to the inventory pool manage section
- Then
-
I enter the inventory pool's basic settings as follows:
Name Short Name E-Mail Description Default Contract Note Print Contracts Automatic access - And
- I make a note of which page I'm on
- And
- I save
- Then
- I see a confirmation that the information was saved
- And
- the settings are updated
- And
- I am still on the same page
- Pflichtfelder der Grundinformationen zusammen prüfen
-
- Given
- I am Mike
- When
- I edit the current inventory pool
- And
-
I leave the following fields empty:
Name Short Name E-Mail - And
- I save
- Then
- I see an error message
- Automatically grant access to new users from within my own inventory pool's settings
-
- Given
- I am Mike
- And
- multiple inventory pools are granting automatic access
- And
- my inventory pool is granting automatic access
- When
- I create a new user with the 'inventory manager' role in my inventory pool
- Then
- the newly created user has 'customer'-level access to all inventory pools that grant automatic access, but not to mine
- And
- in my inventory pool the user gets the role 'inventory manager'
- Enable automatic access to a new inventory pool
-
- Given
- I am Mike
- And
- I edit an inventory pool that is not granting automatic access
- And
- there are users without access right to this inventory pool
- When
- I enable automatic access
- And
- I save
- Then
- automatic access is enabled
- And
- there are no users without access right to this inventory pool
- Deselect checkboxes
-
- Given
- I am Mike
- And
- I edit an inventory pool
- When
- I enable "checkbox"
- And
- I save
- And
- I remove the flash
- Then
- "checkbox" is enabled
- When
- I disable "checkbox"
- And
- I save
- And
- I remove the flash
- Then
- "checkbox" is disabled
Examples: checkbox Print contracts Automatic suspension Automatic access - Manage workdays
-
- Given
- I am Mike
- And
- I edit my inventory pool settings
- When
- I randomly set the workdays monday, tuesday, wednesday, thursday, friday, saturday and sunday to open or closed
- And
- I save
- Then
- those randomly chosen workdays are saved
- Manage holidays
-
- Given
- I am Mike
- And
- I edit my inventory pool settings
- When
- I set one or more time spans as holidays and give them names
- And
- I save
- Then
- the holidays are saved
- And
- I can delete the holidays
- Validate each field in inventory pool settings separately
-
- Given
- I am Mike
- When
- I edit the current inventory pool
- And
-
I fill in the following fields in the inventory pool settings:
Name Short Name E-Mail - When
- I leave the field "field" in the inventory pool settings empty
- And
- I save
- Then
- I see an error message
- And
- the other fields still contain their data
Examples: field Name Short Name E-Mail - Automatically suspend users with late contracts
-
- Given
- I am Mike
- When
- I edit the current inventory pool
- When
- I enable "Automatic suspension"
- Then
- I have to supply a reason for suspension
- When
- I save
- Then
- this configuration is saved
- When
- a user is suspended automatically due to late contracts
- Then
- they are suspended for this inventory pool until '1/1/2099'
- And
- the reason for suspension is the one specified for this inventory pool
- When
- I disable "Automatic suspension"
- And
- I save
- Then
- "Automatic suspension" is disabled
- Suspend users automatically only if they aren't already suspended
-
- Given
- I am Mike
- When
- on the inventory pool I enable the automatic suspension for users with overdue take backs
- And
- a user is already suspended for this inventory pool
- Then
- the existing suspension motivation and the suspended time for this user are not overwritten
Last published over 3 years ago by mkmit.