Go to file
Cassowary Rusnov 5f0c77c499 Fix export contacts test.
Squashed commit of the following:

commit 81d88bd69775edbbe7018038df60f266357171da
Author: Cassowary Rusnov <rusnovn@gmail.com>
Date:   Thu Feb 3 21:20:51 2022 -0800

    mob next [ci-skip] [ci skip] [skip ci]

commit f3639dbaccfd0f28d8ffb285993b688e94136fad
Author: naomi <naomi@happycatsin.space>
Date:   Fri Feb 4 07:04:16 2022 +0200

    mob next [ci-skip] [ci skip] [skip ci]

Co-authored-by: naomi <naomi@happycatsin.space>
2022-02-03 21:21:20 -08:00
civicrm_tester Fix export contacts test. 2022-02-03 21:21:20 -08:00
.gitignore updated to work again with instructions 2021-10-20 13:57:23 +01:00
.pylintrc feat: improved looping over the hardcoded terms 2021-01-22 14:11:50 +00:00
.style.yapf Initial Commit 2020-12-29 15:12:31 +00:00
Pipfile updated to work again with instructions 2021-10-20 13:57:23 +01:00
README.md updated to work again with instructions 2021-10-20 13:57:23 +01:00
main.py Fix export contacts test. 2022-02-03 21:21:20 -08:00

README.md

civicrm-update-tester

install

Requires pipenv, venv, pip, and python 3.

python3 -m venv .venv
source .venv/bin/activate
pipenv install
webdrivermanager chrome # installs chrome driver

running

args

- -u --user <user>: username to login with
- -p --pass <pass>: password of account
- -D --dev: doesn't work anymore, both URLS point to staging server
- -s --show-browser: runs in non-headless mode to show whats happening
$ python3 main.py -u roxie -p "hunter2" -s

what is the layout of this

the civicrm_tester folder has files which contain classes. One for each test. The tests inherit the BaseTester class which has basic commands (login, logout, creating the browser, logging helpers, etc.) and access to the selenium browser. This will hopefully allow for the choosing of what tests to run. Atm, main.py just runs all three current tests synchronously.