This is a list of tests that are run daily by the Continuous Integration system of XiVO. The source code of the tests is available on Github.
The tests listed here were all passing at the moment of the release.
Contents
CCSS requested then cancelled after no-answer
Given there are users with infos:
When "Alice A" calls "1101"
When "Alice A" waits for 3 seconds
When "Alice A" hangs up
When "Alice A" calls "*40" and waits until the end
When "Bob B" calls "*10"
When "Bob B" waits for 3 seconds
When "Bob B" hangs up
Then "Alice A" is ringing
When "Alice A" answers
Then "Bob B" is ringing
When "Bob B" answers
Then "Alice A" is talking
Then "Bob B" is talking
CCSS after no-answer
Given there are users with infos:
When "Alice A" calls "1101"
When "Alice A" waits for 3 seconds
When "Alice A" hangs up
When "Alice A" calls "*40" and waits until the end
When "Bob B" calls "*10"
When "Bob B" waits for 3 seconds
When "Bob B" hangs up
Then "Alice A" is ringing
When "Alice A" answers
Then "Bob B" is ringing
When "Bob B" answers
Then "Alice A" is talking
Then "Bob B" is talking
Pickup a call coming from a group
Given there are no calls running
Given there are users with infos:
Given I wait 5 seconds for the dialplan to be reloaded
When I register extension "1101@default"
When I wait call then I do not answer
When line "1100@default" calls number "1101" then wait
When line "1102@default" pick up call at number "1101"
Then the directed pickup is successful
Given there are users with infos:
When "User 100" calls "1101"
When "User 102" calls "*81101"
Then "User 100" is talking
Then "User 102" is talking
Pickup a call coming from an incoming call
Given there are no calls running
Given there are users with infos:
Given I wait 5 seconds for the dialplan to be reloaded
When I register extension "1101@default"
When I wait call then I do not answer
When line "1100@default" calls number "1101" then wait
When line "1102@default" pick up call at number "1101"
Then the directed pickup is successful
Given there are users with infos:
When "User 100" calls "1101"
When "User 102" calls "*81101"
Then "User 100" is talking
Then "User 102" is talking
Pickup a call
Given there are no calls running
Given there are users with infos:
Given I wait 5 seconds for the dialplan to be reloaded
When I register extension "1101@default"
When I wait call then I do not answer
When line "1100@default" calls number "1101" then wait
When line "1102@default" pick up call at number "1101"
Then the directed pickup is successful
Given there are users with infos:
When "User 100" calls "1101"
When "User 102" calls "*81101"
Then "User 100" is talking
Then "User 102" is talking
Sort a list using an order and direction
Limit a list
Pass invalid parameters
Search a list
Skip items in a list
04 Generation of event RINGNOANSWER
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
06 Generation of event JOINEMPTY
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
14 Generation of event EXITWITHTIMEOUT
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
11 Generation of event COMPLETEAGENT
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
02 Generation of event ABANDON
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
10 Generation of event COMPLETECALLER
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
16 Generation of event PAUSEALL and UNPAUSEALL
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
01 Generation of event FULL
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
05 Generation of event ENTERQUEUE
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
08 Login twice using AGENTCALLBACKLOGIN
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
17 Generation of event WRAPUPSTART
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
13 Generation of event CLOSED
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
12 Generation of event LEAVEEMPTY
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
07 Generation of event AGENTCALLBACKLOGIN
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
03 Generation of event CONNECT
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
09 Logoff when not logged in
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log
15 Generate corrupt stats with EXITWITHTIMEOUT event
Given there is no agents logged
Given there is no "CONNECT" entry in queue "q03"
Given there are users with infos:
Given there are queues with infos:
When "User 003" calls "*31003"
When I wait 2 seconds for the calls processing
When chan_test calls "5003@statscenter" with id "5003-1"
When I wait 2 seconds for the calls processing
When "User 003" answers
When chan_test hangs up "5003-1"
When I wait 3 seconds for the data processing
Then i should see 1 "CONNECT" event in queue "q03" in the queue log