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
EXTRA:
- Main title
-- √ change wording online -> available
-- √ Add number placeholder after Primary number
-- √ if no groups exist label should be “All calls group to the primary number”
- √ When adding a sourceset to an unpersisted group, all the popovers should be in the same context,
- √ and the alert message should be within the popover (instead of yellow toast)
- √ Change buttons in the sourceset edit popover
ADD button for adding sources under the input field
CLOSE and DELETE (red + trash icon) buttons for the whole list on the same line at the bottom of the popover
- √ Prevent creation of more than one unpersisted group by alerting the user “You have to create a destination on the unsaved group”
- √ Gray out “All calls go to the primary number” on available groups when group is disabled
Cosmetic
- √ Remove bold from main title
- √ Adjust paddings for buttons in the popover
- √ Line heights within each group should be consistent
- √ Timeout popover > more width + dots
Change-Id: I1adab34f5bd921779027adacf7ff50f235ff2510
- now check login with no credentials, completley invalid credentials and
only invalid password before logging in
Change-Id: I35be16e0c0a27dcc3c86ae4b144a26cbac62020a
AC:
If forwarding group is not persisted yet:
√ Can click "and condition" and sees the possible conditions like "call from ..."
√ Can click a condition
√ Can see a number input to save the initial destination
√ Can see information why all this is happening
√ Can see the origin condition popup (source list, time widget) again after saving the number
Change-Id: I78c44fe000f980335b4c49480cb43c6250fbe1ce
ACs:
√ Can click a new type of forwarding group under "Add forwarding"
√ Can create a new group "If online and call from ..."
√ Can delete an existing group
√ Can add destinations as in other groups
√ Can delete destinations
√ Can edit destinations
√ Can define a list of sources by clicking the highlighted part in the title "call from ..."
√ Can see a popup after clicking "call from ..."
√ Can input a name to identify the source list, add a first number and save it
√ Can see the title "If online and call from nameOfTheSourceList" after saving the new source list initially
√ Can see the popup with the source list after clicking the title again
√ Can add numbers to that source list by clicking an add button in the popup
√ Can delete numbers from the source list by clicking a delete button
extra:
√ Adding a sourceset to an unpersisted destinationset is prevented:
√ Changed condition menu label
Change-Id: Ifaa7b9cf5e8e5785bbfe2efd9ab7acaa0497cef5
- 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
What is missing:
- loader during requests
- message on destination saved
- timeout requests on filed blur (current on value change => multiple requests)
- the form to add destinations currently shows up a the bottom of the destinationset instead as popover
- (cosmetic) + icon instead of char before ADD FORWARD label
Change-Id: I61986bcdc9f157787c1cd9d690c752b9fd44fe24
- 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