freeipa/install/ui/test
Rob Crittenden 6518a600b4 Change FreeIPA references to IPA and Identity Management
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>
2021-01-21 13:51:45 +01:00
..
bin Fix Web UI 'get_entity_param' test 2018-07-17 15:32:28 -04:00
data Change FreeIPA references to IPA and Identity Management 2021-01-21 13:51:45 +01:00
aci_tests.html Cleanup shebang and executable bit 2018-07-05 19:46:42 +02:00
aci_tests.js Update tests 2017-12-14 18:57:37 +01:00
all_tests.html Web UI (topology graph): Show FQDN for nodes if they have no common DNS zone 2019-03-21 16:01:11 +01:00
association_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
association_tests.js Update tests 2017-12-14 18:57:37 +01:00
binding_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
binding_tests.js Update tests 2017-12-14 18:57:37 +01:00
build_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
build_tests.js Update tests 2017-12-14 18:57:37 +01:00
certificate_tests.html Cleanup shebang and executable bit 2018-07-05 19:46:42 +02:00
certificate_tests.js Cleanup shebang and executable bit 2018-07-05 19:46:42 +02:00
config.js Change tests to use AMD loader 2013-01-18 15:10:37 +01:00
details_tests.html Fixes details_test.js 2017-08-31 10:35:03 +02:00
details_tests.js Fix Web UI "details lifecycle" test 2018-07-17 15:32:28 -04:00
entity_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
entity_tests.js Update tests 2017-12-14 18:57:37 +01:00
index.html Web UI (topology graph): Show FQDN for nodes if they have no common DNS zone 2019-03-21 16:01:11 +01:00
ip_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
ip_tests.js Update tests 2017-12-14 18:57:37 +01:00
ipa_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
ipa_tests.js Update tests 2017-12-14 18:57:37 +01:00
jsl.conf Update jsl.conf in tests subfolder 2017-12-14 18:57:37 +01:00
ordered_map_tests.html Cleanup shebang and executable bit 2018-07-05 19:46:42 +02:00
ordered_map_tests.js Cleanup shebang and executable bit 2018-07-05 19:46:42 +02:00
qunit.css Update QUnit CSS file to 2.4.1 2017-12-14 18:57:37 +01:00
qunit.js Update qunit.js to version 2.4.1 2017-12-14 18:57:37 +01:00
README.md Update README about WebUI unit tests 2017-12-14 18:57:37 +01:00
topology_tests.html Web UI (topology graph): Show FQDN for nodes if they have no common DNS zone 2019-03-21 16:01:11 +01:00
topology_tests.js Web UI (topology graph): Show FQDN for nodes if they have no common DNS zone 2019-03-21 16:01:11 +01:00
utils_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
utils_tests.js Stop usage of "IPA.messages" in Web UI "utils" tests 2018-07-17 15:32:28 -04:00
widget_tests.html Cleanup shebang and executable bit 2018-07-05 19:46:42 +02:00
widget_tests.js Update tests 2017-12-14 18:57:37 +01:00

WebUI Unit Tests

Prerequisites

  1. Run ./autogen.sh command in the root of the repository
  2. 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

  1. Go to install/ui/test
  2. 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:

  1. Go to install/ui
  2. Run npm install, it installs required packages specified in package.json file
  3. Run grunt --verbose qunit

For more information about WebUI unit tests please read following: https://www.freeipa.org/page/FreeIPAv2:UI_Unit_Tests