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
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
Dissociate user_line main user before secondary user
Create user_line with a user that doesn't exist
Create user_line with a line that doesn't exist
Create a user_line with a line that has an extension
Dissociate user_line when a device is associated
Create a resource with missing parameters
Associate 3 users to the same line
Link a user already associated to a line
Dissociate user_line with extension associated
Get user_line associations when user does not exist
Dissociate user_line when user does not exist
Create a user_line
Dissociate user_line when line does not exist
Dissociate user_line with secondary user
Get user_line associations when there are no lines associated to a user
Create a resource with invalid parameter type
Link a user already associated to a different line
Get user_line
Create a resource with invalid parameters
Delete a voicemail associated to nothing
Edit a voicemail with a invalid parameter number
Creating a voicemail with a name and parameters that don't exist
Creating a voicemail with required fields
Creating an empty voicemail
Edit two voicemails with the same number and context
Creating a voicemail with parameters that don't exist
Creating a voicemail with a non existent context
Edit a voicemail that does not exist
Delete a voicemail associated to a user with a SCCP line
Edit a voicemail with a name and parameters that don't exist
Edit a voicemail with a invalid parameter max_messages
Creating a voicemail with a invalid password
Edit a voicemail with a invalid password
Delete a voicemail that does not exist
Create a resource with invalid parameters
Edit a voicemail associated to a user with a SIP line
Edit a voicemail with required fields
Voicemail list
Creating a voicemail with a non existent language
Edit a voicemail with parameters that don't exist
Delete a voicemail associated to an incoming call
Edit two voicemails with the same number but different context
Creating two voicemails with the same number and context
Edit a voicemail with a non existent language
Edit a voicemail associated to a user with a SCCP line
Get a voicemail
Delete a voicemail associated to a user with a SIP line
Creating a voicemail with a non existent timezone
Edit a voicemail with a non existent timezone
Creating a voicemail with all fields
Get a voicemail that doesn't exist
Edit a voicemail with a non existent context
Creating two voicemails with the same number but different context
Edit a voicemail with all fields
Get a voicemail with all parameters
Creating a voicemail with a invalid parameter number
Create a resource with invalid parameter type
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