feat: Enable Capacity Config UI (#5164)
- Enables Capacity Config in UI - Rewrite auto assignment Logic to consider only online agents fixes: #4990
This commit is contained in:
@@ -220,7 +220,7 @@ RSpec.describe 'Conversations API', type: :request do
|
||||
end
|
||||
|
||||
context 'when it is an authenticated user' do
|
||||
let(:agent) { create(:user, account: account, role: :agent) }
|
||||
let(:agent) { create(:user, account: account, role: :agent, auto_offline: false) }
|
||||
let(:team) { create(:team, account: account) }
|
||||
|
||||
it 'will not create a new conversation if agent does not have access to inbox' do
|
||||
|
||||
Reference in New Issue
Block a user