When switching language to German, one line of text has changed. Updating
line so that test no longer fails
Change-Id: I3747bc8feb70f917fd6c4f037258df136240d5f1
When day = 20 for example, it selects the year 20xx instead of the 20. of the
month, due to only checking if button contains number 20. Specifying XPATH
more clearly and dropping contains check to prevent this
Change-Id: I597e181ad2d88e40dfa0efc27dd29bacea7722eb
Previously when adding condition (date is) to a call forwarding, it was
hardcoded to be the 15th of every month. However this caused tests to fail
on this exact day every month. Now beeing more careful with date choosing.
Change-Id: I3e49f02230d5e6390f484e7d3864747c3437ecdf
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
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
- 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
- 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
- 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
- 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
- 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