AC:
Can see the data converted properly after saving
Can see the data rendered properly after fetching it again
Change-Id: I98259176b0dcbcfd76030305905e4e8c454df004
these csc selenium tests have been rewritten due to many ui changes
should also be easier to adapt them if more ui changes are coming
Change-Id: I705a16ca256bd074bda16cf37dddcd67f6516b24
AC:
Can transform human readable time periods [Weekday, StartHour, StartMinute, EndHour, EndMinute] to the Perl based ( function toKamailioPeriods(arrOfHumanReadablePeriods))
Can transform Perl based time periods to human readable ones [Weekday, StartHour, StartMinute, EndHour, EndMinute]
Can see the two functions in a new separate file
Change-Id: I6559fcf1639487b00e9e442a7d6e97907f1c9af5
AC:
Can see the keys replaced by the actual english translation in the code
Can see the language files, including the english one, using the english translation as keys
Can see no more nested structure but flat a one only
Change-Id: I3c3fc18ff91d972cb592c8cab43b66da16193a1c
Some pro machines that are used for running tests have cloudpbx enabled and
when trying to create a customer on those it will fail, because it wont
select the product at all. this patch will select basic sip account as product
if cloudpbx is enabled
Change-Id: I15abe159e1be116ac6247ba471e1f26b48f50842
- now check login with no credentials, completley invalid credentials and
only invalid password before logging in
Change-Id: I35be16e0c0a27dcc3c86ae4b144a26cbac62020a
- python selenium is perfectly capable to start geckodriver by itself, so we
can remove geckodriver launch in shell script. we are still killing geckodriver
on launch if necessary to prevent issues with re-execution
Change-Id: I4e413abfd3d4a2f04bee6d48bd33654cc559f562
- add a wait.until(EC.element_to_be_clickable()) element to all 3 instances
where it needs to change 'ring own phone' setting
Change-Id: If505ca17c0cd298b2df819a6ad5b30f892a2aa33
- replaced all wait instruction block into a seperate function. if those
need a change for some reason, we can change them easier
- changed how it should wait until the loading screen goes away
Change-Id: I96ce894c32284652dd3e5bb9cada76177eb70c2a
- edit said checks, so that they will actually print the defined error message
instead of python tracebacks
Change-Id: I923f3e2d5107ad9423f1a98806354652dce97a37
- first check if settings button is clickable before clicking it
- replace move_and_click with click_js. this will also remove the
move_and_click function, since it was almost never used.
Change-Id: I5d4a7fbf7f900ac6e8f1ade5e32033790f8cd753
- reset cursor position before cursor gets moved to prevent mouse curser
not triggering invisible buttons, because cursor is already on set position
- remove second element argument, it isnt needed anymore
- adjust function calls
Change-Id: I2b53a42cd0972ba9a7f8c7f5df92b63f56dc8dd8
- seperate thread settings for local and jenkins tests. this setting was
pretty much useless before.
- add some help text in config files.
Change-Id: Ib9358d3878519390b02beb7c3444b4fc53ad1844
- rewrite 'add number/voicemail' parts. these are now simpler and faster
- improve handling of loading screens. those should not crash the program
anymore
Change-Id: If8f75accb0b04439a4d81262213f3d6672127df3
- log messages are now shown in console for failed tests
- successful tests wont show log messages
Change-Id: Ifb5f3f2ce940c26c4a2f80f7b8b764994e7f5de6
- run tests with nose2 multithreading now. currently on 2 threads, since
anything higher kills my laptop.
- threads have their own subscriber, so that changing i.e the password wont
affect other tests. the amount of threads has to be changed in testrunner and
in the nose2 config files.
- tests are no longer named test_a, test_b, etc. since preperation and
cleanup functions are now done seperatley.
- webdriver creation has been moved into its own function, so changes to it
can be done easier
- fancy new messages when exectuing tests
- fixed tests bugs introduced with threading
Change-Id: I70f985dbde20af020bad9186a0b262f67b33de82
- try out every language on the login screen and see if it changes properly
revert to english after test is done
Change-Id: If4fd90744a26e26a0c2d657bd96b842b427afe5e
- check status of loading screen twice to see if element is clickable. the
loading circle dissapears and reappears again, which can misslead the script
into thinking "the loading is done" when its not.
Change-Id: I51c1712a8c9ae7f5a5f073becc0a2e4a09ff7f03
- said functions no longer work on machines without an active rtc:engine.
disabling them for now until we test on machines with an active engine.
Change-Id: I70a3c17d1e1752f7fda206f7f9e2c7dcb18ab342
- change interface language to all avalible languages and check if interface
language was changed properly
Change-Id: I27999245e43d50a9934ba7b6c52f39776d4860de
- elements that start with "/html" for example wouldnt get picked up since
they only use 1 slash while the check was expecting 2 slashes
Change-Id: I787f8914744e7b8337b27389a6a4257873c4d399
- this function will click an element using javascript instead of the normal
click command. selenium refuses to click some parts of the website even though
they are clearly visible and clickable (i.e language settings)
Change-Id: I4c2b821359a0f6bb0a58e22a28e48ba4fbc9af7b
- add move and click(). this function works by using action chains, just
like the ngcp-panel tests. all action chains in the code have been replaced
by this function.
Change-Id: Idfcf85e0407b2e78441c63ac7c0481c7119e721f
- remove unnecessary find_element calls
- now check for the column name instead of just the column existing
Change-Id: Iaebbbcddc410f8ce50b5e0c76bd203e50a7717e0
add function scroll to element, since this function is easier to remember
and use than anything in javascript. replaced every javascript scroll call
with this function.
Change-Id: Ie9bb3b258f35da96d00a111d1be0db7fe1aa53f7
- declare after hours
- add call routes
- edit call routes
- create new source set
- add a new source
- delete new source
- test if deletion fails if only 1 source is left
- logout
Change-Id: I40e76d38c73b837d5ffdea7ffc5e3134b48db279
- subscriber will now use their own domain to prevent errors when deletion
process of previous test runs failed. previously it would pick the first
domain available. however, this caused some issues when the cleanup process
of a previous testrun didnt delete the subscriber. subscriber creation would
fail since the same subscriber name with the same domain already exists.
- subscriber require a valid domain now for this reason
Change-Id: Ibf10106f09fdf8f871e1888afbabf4ef349a6404
- previously it was possible to create a subscriber without creating a
customer. it would just grab the first customer in the customer list and
create a subscriber there. however, since we delete the entire customer now
instead of just the created subscriber and some customers dont allow to create
a subscriber, this feature will be removed.
Change-Id: Ibc8872ebd6073f8ec531a1e9493f036392df0e56
- improve 2 cases where WebDriverWait should check for the loading animation
screen dissapearing rather than an element beeing clickable again
Change-Id: Ic30da67ce79095559224cdf20b5f2e8e46663f02
- declare company hours
- add call routes
- edit call routes
- create new source set
- add a new source
- delete new source
- test if deletion fails if only 1 source is left
- logout
Change-Id: I6f5e616053eadb498145ad3843b5e357fd33c11b
- wait for the loading screen to go away instead of waiting until the button
is clickable. should work better
Change-Id: If9d0d33fad0c543db5883af439ae87a53d681723
- add functions create and delete_customer, so that you are guarenteed to
start with an empty customer with no subscribers
- edited tests to use those new functions
Change-Id: I853309645252cc2991e5afac6046f325c4d9620c
- add login functions for ngcp panel for usage in future new functions
- rename existing login functions to login/logout_csc
- removed login routine from create/delete_subscriber. functions that need
to create a subscriber or do any other things in ngcp-panel should launch
login_ngcp themselves
- edited tests to properly use these new functions
Change-Id: If936e92df3b486de9783b48d1cb64c1e75888485
- create a second source set
- test creation of destinations in second source set
- test if second source can be created and deleted
- test if deletion fails when only one source is left in list
- wait until EC.element_is_clickable has been replaced with
invisibility_of_element_located, to drop many time.sleep statements and
actually check if loading animation has gone away.
Change-Id: I192159c15c62554b6a34a3dacc447a31ff83f8ac
- add missing test in voicebox
- increase implicitly_wait value to 2 seconds while waiting for element to
dissapear
Change-Id: If05e4a9d23b0f5eb97373626bbb3d511c1864541
- extend call blocking test. edit numbers in both incoming and outgoing lists
and check in changes were applied
Change-Id: I997a405253bb92ef14710c6e442a795dbc724a66
- fix crash where call_blocking test could not switch properly to outgoing
and privacy options due to the fullscreen warning intercepting the click
Change-Id: I5a046aa7d3c2f1235b25aaeea68fed7a61c398cc
this file will contain helper functions. first up is fill_element, which
automatically replaces already filled in text, since send_keys wont do that.
Change-Id: Ib815e403ba9d7fa808c57aecd09a464f45d21413
- enabled option longMessage, which will display not only the contents of the
test, but also the message it got assigned. before it would only display the
message.
- redone the assert texts, since those are only shown when tests fail unlike
pearl tests
Change-Id: I3121be12a6a158ae6c1bb3dfca03071da9424118
- go to call forward always page
- add testdestination and voicebox for all sitautions
- check if all cases have been set up properly
Change-Id: Ia8e0a1e5686bd4346dac5aa3082286764a911266
- go to menu 'conference'
- press 'share conference'
- check if link is correct
- go to conversations
- check if all conversations tabs are empty
Change-Id: I24b3072167f62b02655138e36664b0b136117445
- check first if element is clickable when trying to logout
- fix crash on speed dial test
- add a 1 second delay to clicks in reminder. it happens very often that
elements wont accept the click even though element_to_be_clickable() check
has passed.
Change-Id: I36bacabf79d2078530d7db6a60ff6cd17c682bab
Change-Id: Ifaed458e3958341d3081555efdbcd43be5efc2af
- log in to csc interface
- enable option 'All anonymous incoming calls are blocked'
- add number to incoming and outgoing calls
- check if number is correct and delete it afterwards
- enable privacy option 'Your number is hidden to the callee'
Change-Id: If6533e254b05bb7dd87d52d09ab53a353a5f5c86
To only test the conference store, change
describe('ConferenceModule', function(){
into
describe.only('ConferenceModule', function(){
on line 7 of t/store/conference.js
Change-Id: Iec745f5ff4512f337d9bddb2009ae55554bb8e32
- made some xpath expressions shorter
- fixed a bug where it couldnt detect properly if element was clickable
Change-Id: I82ca5a434fb870759c1523b2b94db192f369a60a
- renamed individual tests to test_a_test, test_b_test, etc so that the
order of execution can be controlled
- add test create_subsciber and delete_subscriber so that subscriber
creation/deletion gets triggered only once instead of every test
- add logout to every test
Change-Id: I5147676de4d366f6ab82d849a8091ac6025261cd
- log in to csc interface
- enable reminders
- set time for reminders
- change reminders setting to 'always'
- check with asserts if everything was applied correctly
Change-Id: Id87aeaa32cc9362989530169bb221eb5af0e09b1
- log in to csc interface
- create a speed dial
- check if speed dial was correctly created
- delete speed dial
- check if speed dial was deleted
Change-Id: Ia99de89171fd1f8781bcbc4b2864364fcb7769f8
- renamed test_login to testrun.py
- put creation/deletion of subscriber in setUp() and tearDown()
- test if logout works
- add functions login() and logout() for use later
- assert statements now have messages to print
Change-Id: Ieb7fb9c1bb8c5df082e90481577920010c038157
ngcp-csc-ui selenium tests will be created here using python3 and nose2 for
running tests. firefox only for now, chrome can be added later.
this test will create a subscriber, login to csc panel and delete subscriber
when it is done
Change-Id: Ie10c369b878885aa38892488aea58353d43e74e1
What has been done:
- TT#51303, Create API method for fetching call blocking lists
- TT#51304, Implement state handling and getter for call blocking list
fetching
- TT#51356, Create API update methods for call blocking
- TT#51354, Implement UI menu items, success toasts and error handling
- TT#51355, Implement state handling and actions for call blocking update
requests
Change-Id: I468d1152d17a33fbb56bc4f052beb0440a3fb7b3
What has been done:
- TT#47510, SoundManagement: As a SubscriberAdmin, I want to have an extra page
section for managing SoundSets
- TT#47511, SoundManagement: As a SubscriberAdmin, I want to see a list of all
owned SoundSets
Change-Id: I1e1d6d49d90d1b8b5deef5689c686b921eb6f7d8
What has been done:
- TT#47832, Implement UI for removal of CallQueueConfiguration items, incl
loading spinner and confirm dialog
- TT#47833, Implement state handling for CallQueueConfiguration removal of item
- TT#47834, Create API method for removal of CallQueueConfiguration item
Change-Id: I0a8f7e2a4fa68b13276f5944410982febfc2e333
What has been done:
- TT#47389, CallQueueConfig: As a PBXAdmin, I want to change the queue
length of a CallQueueConfiguration
- TT#47390, CallQueueConfig: As a PBXAdmin, I want to change the wrap
up time of a CallQueueConfiguration
Change-Id: I29e585c90d974e7294302d22b6e1a7a254caf8ef
What has been done:
- TT#47830, Implement validation for CallQueueConfiguration creation form
- TT#47829, Implement UI for creation of new CallQueueConfiguration item
- TT#47828, Create API method for adding a new CallQueueConfiguration item
- TT#47831, Implement state handling for CallQueueConfiguration creation of
item
Change-Id: Ie9832f9cfa18329a81aa65b588f2752c7c6cfb3a
What is done:
- TT#45397, Implement greeting sound player methods and state handling
- TT#45389, Implement UI for playing "busy greeting sound", stop/play/pause
- TT#45390, Implement API method for fetching the playable "busy greeting sound"
- TT#45385, Implement API method for fetching the playable "unavailable greeting
sound"
- TT#45384, Implement UI for playing "unavailable greeting sound",
stop/play/pause
- TT#45398, Implement greeting sound player methods and state handling
Change-Id: I866bda3931c67cc79ad34d4be9e784f0705c221e
What has been done:
- TT#44664, Voicebox: As a Customer, I want to upload a custom
"unavailable" greeting sound
- TT#44665, Voicebox: As a Customer, I want to delete/reset the custom
"unavailable" greeting sound
Change-Id: Ifd266e0af78a6844135a8bd024998b70789efe5e
What has been done:
- TT#44661 Voicebox: As a Customer, I want to upload a custom "busy"
greeting sound
- TT#44663, Voicebox: As a Customer, I want to delete/reset the custom
"busy" greeting sound
- Refactoring of CscVoiceMailPlayer to more generic CscAudioPlayer
Change-Id: I24f9d607b9d1acece56cd47c0bd8c99d125d45b4
What has been done:
- TT#40083, Voicebox: As a Customer, I want to configure voicebox
settings
- TT#44658, Voicebox: As a Customer, I want to change the E-Mail-Address
- TT#44657, Voicebox: As a Customer, I want to change the PIN
- TT#40083, Voicebox: As a Customer, I want to enable/disable deletion
of voicemail after mail delivery
Change-Id: Ic11973de74e3a3e3d2da320a267182a051fa1571
What has been done:
- TT#42759, Implement API method for toggling of enable/disable own number
- TT#42763, Implement state handling for toggle button and timeout
- TT#42766, Extend unit tests to also account for cft destinations
- TT#42755, Extend API method to also render cft destinations
- TT#42761, Implement UI for toggle button
- TT#42760, Implement API methods for fetching, updating and resetting
cft_timeout
- TT#43163, Implement UI for timeout input field with reset/save
- TT#42764, Implement success toast and error handling for toggle action
- TT#42765, Implement success toast and error handling for timeout input
Change-Id: I0ce37bbe14caacadb822f14d01782009633c4354
What has been done:
- TT#40529, Implement API method for assigning a destination to a specific speed dial slot
- TT#40630, Implement API method for fetching available slots
- TT#40530, Implement reload of list after new assignment has been created successfully
- TT#40527, Implement UI form and buttons (destination input field, slot selection field, and add button)
- TT#40528, Implement custom phone number input field with automated formatting
- TT#40531, Implement toast for successfully assigned destination
- TT#40538, Implement unit test for creation of selections options for speed dial slot selection
Change-Id: Ibe4937a097be0a89e677916a189a0e3fe62826df
What has been done:
- TT#40522, Investigate and discover necessary API endpoints
- TT#40523, Implement speed dial page, navigation menu entry and home
page box
- TT#40525, Implement UI display for list of speed dials
- TT#40524, Implement API method for fetching speed dial slots 0-9
- TT#40526, Implement loading animation and error alert
- TT#41016, Implement test API speed dial method
Change-Id: I0b6fc4dab08913948bb8acf9c136bd56fe89da01
What has been done:
- TT#39012, Ensure scroll to top behavior after list is reloaded
- TT#38962, Implement callState watcher that dispatches action when call
has ended
- TT#39046, Implement dedicated reload action with retry mechanism
- TT#38961, Implement dedicated reload mutation with call item handling
- TT#39150, Fix existing test and create new one
Change-Id: I8316de60be890c9236e5eda13a9acfe59586e7dd
What has been done:
- TT#36185, CallForward: Implement api layer methods, plus corresponding
store actions and mutations
- TT#36191, CallForward: Implement UI deletion icon and method, plus
confirmation dialog component
- TT#36193, CallForward: Implement success toast, error handling and
loading animation
Change-Id: I4ac5136e4565448bd0ccaa3da924868a1c57d66f
- PBXConfig: As a Customer, I want to navigate through the list of devices by using a pagination mechanism
- PBXConfig: As a Customer, I want to navigate through the list of seats by using a pagination mechanism
Change-Id: I15393d01a3f50eeafcc300ef27ad2769c6f1dc1a
What has been done:
- TT#34559, Conversations: Implement error handling
- TT#34558, Conversations: Implement store action
- TT#34557, Conversations: Implement the download button
in the vue component CscConversation
- TT#34550, Conversations: Implement download method in
api layer
Change-Id: I10ea9b084b4f5a4fc8e1c9d22a0554e66fcdac84
What has been done:
- TT#32500, CallForwarding: Implement UI elements and flow
- TT#31806, CallForwarding: Implement api requests
- TT#32501, CallForwarding: Implement store and state management
Change-Id: I7ba7c2b5115f10480db4f560e39ffa43205c92af
What has been done:
- TT#32221, CallForwarding: Implement UI icons and flow
- TT#32222, CallForwarding: Implement store and state management
- TT#31808, CallForwarding: Implement api requests
Change-Id: I0fd13e129ee006b7b08333df7a386de12710266a