mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
6518a600b4
In order to simplify the build process between upstream FreeIPA and downstream builds (such as CentOS Stream) we are changing some file references from FreeIPA to IPA (and Identity Management). https://pagure.io/freeipa/issue/8669 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> |
||
---|---|---|
.. | ||
bin | ||
data | ||
aci_tests.html | ||
aci_tests.js | ||
all_tests.html | ||
association_tests.html | ||
association_tests.js | ||
binding_tests.html | ||
binding_tests.js | ||
build_tests.html | ||
build_tests.js | ||
certificate_tests.html | ||
certificate_tests.js | ||
config.js | ||
details_tests.html | ||
details_tests.js | ||
entity_tests.html | ||
entity_tests.js | ||
index.html | ||
ip_tests.html | ||
ip_tests.js | ||
ipa_tests.html | ||
ipa_tests.js | ||
jsl.conf | ||
ordered_map_tests.html | ||
ordered_map_tests.js | ||
qunit.css | ||
qunit.js | ||
README.md | ||
topology_tests.html | ||
topology_tests.js | ||
utils_tests.html | ||
utils_tests.js | ||
widget_tests.html | ||
widget_tests.js |
WebUI Unit Tests
Prerequisites
- Run
./autogen.sh
command 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