As an admin user,
I want to be able to set up a limit per agent,
So that I can define the maximum number of total conversations an agent can be assigned at any given time.
Acceptance Criteria
Set Limit Functionality
Given I am logged in as an admin,
When I navigate to the agent Agent section
Then I should see an option to set a limit on the number of conversations per agent.
Input Validation
Given I am setting the conversation limit for an agent,
When I input a number,
Then the system should validate the number to ensure it is a positive integer or i can increase or decrease the limit via the arrows
Saving the Limit
Given I have set a conversation limit for an agent,
When I click the save or submit button,
Then the system should save the limit and apply it immediately to the agent's account.
Enforcement of Limit
Given an agent has reached their assigned conversation limit,
When a new conversation is initiated,
Then the system should automatically route the conversation to another agent who has not reached their limit or queue the conversation if all agents are at capacity.
Adjusting Limits
Given I want to adjust the conversation limit for any agent,
When I navigate to the agent’s profile,
Then I should be able to modify the existing limit and save the new value, which should be applied immediately.