AC:
Can see only used translation keys in en.json
Can see unused Vue.js components removed
Note: here you can see bunch of removed files, all of them were part of unsued routes and were belong to deprecated versions of CallForwarding UI implementation. It was a preparation step to re-collect all used translation keys by i18n:extract tool.
Change-Id: I100896ed1791a766aaf1dbd0e95d61e351b65935
AC:
Can click on a main menu point to open Subscriber management
Can see a page opening and loading the page from v1 within v2
Note, to test it locally:
1. you need to create the "quasar.conf.dev.js" file with content like
module.exports = {
public: '',
publicPath: '/v2/',
proxyAPI2localhost: true,
proxyAPIFromURL: 'https://dev-web3-trunk.mgm.sipwise.com'
}
2. "src/config.js" should have
baseHttpUrl: '',
3. to login into system you have to use "username@domain" login !!!
Change-Id: I3af7caeb242a52e573d87c50fe05c9462f95bfb3
- TT#128156 Add QR-Code button to the header
- TT#128157 Add QR-Code render library
- TT#128158 Implement QR-Code generation
- TT#129205 Render QR-Code in the popup
- TT#129224 Create store test and api test (including endpoint mockup)
NOTE
You need to enable sip_phone.show_qr_csc in /etc/ngcp-config/config.yml of your environment to be able to see the QR code icon
Change-Id: Ifa065ef057549696387026c5a62cf0f5297ffb05
Set thread count to one by default for local tests for better
visibilty and reliability. Jenkins tests will continue to run with
2 threads
Change-Id: Ib7ea46674d74f318c3818e733964d6ca2abbabbc
AC:
Can see all indentations in SFC, JS, CSS, HTML, JSON-Files as Spaces and not as Tabs
Can see the indentations configured in the corresponding .editorconfig
Can see the .eslintrc adjusted according to the new indentation
Can see 4 Spaces instead of Tabs as indentation
Modify "i18n:extract" tool configuration to use 4 spaces
Change-Id: I53cbda0ed3d9697d15beac7ab7f4ae675b33cba2
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