- 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
- 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