mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Options removed: * ca_ee_port * ca_agent_install_port * ca_ee_install_port Closes: https://pagure.io/freeipa/issue/6708 Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
WebUI Unit Tests
Prerequisites
- Run
./autogen.shcommand in the root of the repository - Run
make -C install/ui/src/libs/- 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.
Running tests:
In browser
- 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.
From command line:
- Go to
install/ui - Run
npm install, it installs required packages specified in package.json file - Run
grunt --verbose qunit
For more information about WebUI unit tests please read following: https://www.freeipa.org/page/FreeIPAv2:UI_Unit_Tests