update browsers, selenium & dependencies and updated tests to
accomondate new syntax thats been a requirement since selenium 4.7
Change-Id: I8f1c15e2093aed0d8277e47bbfce19d6a4728a74
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
- 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
- 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
- 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
- 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
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
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