mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-08-09 12:38:14 -05:00
Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
WebUI Unit Tests
How to run tests:
- Run "autoreconf" command in the root of the repository
- Run "./configure" in the root of the repository
- Go to install/ui/src/libs/ directory
- Run "$ make" - this step generates loader.js which is necessary for load current API version into WebUI. This version is necessary for checking response of each API call.
- Go to install/ui/test
- Run "$ firefox index.html"
Only Firefox browser is supported, because Google Chrome does not allow to fetch files using AJAX and file:// protocol.
For more information about WebUI unit tests please read following: https://www.freeipa.org/page/FreeIPAv2:UI_Unit_Tests