freeipa/install/ui/test
Pavel Vomacka 68540856cf Update qunit.js to version 2.4.1
It provides more functions, bug fixes, but mainly better error handling
therefore it is easier to debug errors while tests are automatically
run.

Related: https://pagure.io/freeipa/issue/7278
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2017-12-14 18:57:37 +01:00
..
bin Removal of deprecated selenium tests 2013-08-15 13:17:40 +02:00
data Address more 'to login' 2017-12-12 12:53:21 +01:00
aci_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
aci_tests.js Fixes for aci_tests.js 2017-08-31 10:35:03 +02:00
all_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02: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 webui: replace IPA.command usage with rpc.command 2014-03-27 14:54:08 +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 webui-tests: binding test suite 2014-04-03 12:40:37 +02: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 Builder: fix join of pre_ops and post_ops arrays 2013-05-06 16:22:30 +02:00
certificate_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
certificate_tests.js Change tests to use AMD loader 2013-01-18 15:10:37 +01: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 Fixes details_test.js 2017-08-31 10:35:03 +02: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 Fixes for entity_tests.js 2017-08-31 10:35:03 +02:00
index.html webui-tests: binding test suite 2014-04-03 12:40:37 +02: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 Change tests to use AMD loader 2013-01-18 15:10: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 Fixes for ipa_test.js 2017-08-31 10:35:03 +02:00
jsl.conf Spec modification by diff object 2013-05-06 16:22:23 +02:00
navigation_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
navigation_tests.js Fix unit tests 2013-05-06 16:22:19 +02:00
ordered_map_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
ordered_map_tests.js jQuery.ordered_map: remove map attribute 2015-05-12 10:53:40 +02:00
qunit.css rename static to ui 2011-01-20 14:12:47 +00:00
qunit.js Update qunit.js to version 2.4.1 2017-12-14 18:57:37 +01:00
README.md WebUI: Update unit test README 2017-08-31 10:35:03 +02: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 webui: field and widget binding refactoring 2014-04-03 12:40:37 +02:00
widget_tests.html Add loader.js into requirements of all HTML unit test files 2017-08-31 10:35:03 +02:00
widget_tests.js Fixes for widget_tests.js 2017-08-31 10:35:03 +02:00

WebUI Unit Tests

How to run tests:

  1. Run "autoreconf" command in the root of the repository
  2. Run "./configure" in the root of the repository
  3. Go to install/ui/src/libs/ directory
  4. 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.
  5. Go to install/ui/test
  6. 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