update browsers, selenium & dependencies and updated tests to
accomondate new syntax thats been a requirement since selenium 4.7
Change-Id: I8f1c15e2093aed0d8277e47bbfce19d6a4728a74
yarnpkg is no longer available in Debian/bookworm, while we already ship
a bundled yarnpkg. So use that bundled yarnpkg binary also within our
Docker related actions. Also see commit bd8a150825 and MT#55813 (and
related to MT#55391).
Use our yarn binary as /tmp/yarn within Docker (to have to maintain it
only at one place). While at it, switch Docker instructions from ADD to
COPY, quoting from
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#add-or-copy ->
Although ADD and COPY are functionally similar, generally speaking, COPY is preferred.
Also, run pip3 install with --break-system-packages, to address new
PEP 668 specific behavior of pip3, as present in Debian/bookworm:
| error: externally-managed-environment
|
| × This environment is externally managed
| ╰─> To install Python packages system-wide, try apt install
| python3-xyz, where xyz is the package you are trying to
| install.
|
| If you wish to install a non-Debian-packaged Python package,
| create a virtual environment using python3 -m venv path/to/venv.
| Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
| sure you have python3-full installed.
|
| If you wish to install a non-Debian packaged Python application,
| it may be easiest to use pipx install xyz, which will manage a
| virtual environment for you. Make sure you have pipx installed.
|
| See /usr/share/doc/python3.11/README.venv for more information.
|
| note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
| hint: See PEP 668 for the detailed specification.
Change-Id: I09774d137925891a5f40e5597c40f48594f41d6f
- "Join conference" was renamed to "Start new call", fixing clicks
- Button for closing conference page was removed, remove call that
would close old conference page
Change-Id: I399326719654c9ca8f4abd880a6c7168f60b3a7f
Security test had the wrong filename and was taking a screenshot
regardless if an error occured or not. Fixing that
Change-Id: If2692948296fa1c1c7b35a34d4c639e6bfd1e508
Fix selection of days when starting day of month is not on a monday
and add a 0 to day (to make it 01, 02, etc.) so that tests don't get
confused by the formatting
Change-Id: I053f8ab65e0292a49ff4b5ab7a663c9a06b4ab21
It is now possible to skip tests on ce that are intended for pro
and vice versa. Applying this to the fax test, since fax settings
option is only available on pro and not on ce
Change-Id: I7e32fdd63d033d695b3a2cb60514c372c6757453
test_recordig mainly checks the filter settings on recordings page and see
if they get activated properly
Change-Id: I491356ade72bd536e3cc0103919eaa055edc2311
Buttons have been changed and re-arranged. Adapting code so that it
actually clicks the right buttons
Change-Id: Ib08750fce5c9980d644ba0c58b4fad787a3621eb
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
Only press "Go back to old UI" button when in new ui. Before it would still
try to press the button regardless if in old or new ui
Change-Id: I23d8f45975067b0a30240393af3a37e31a210c11
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
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
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
- 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