freeipa/install/ui/test
Christian Heimes 9c86d35a3f Cleanup shebang and executable bit
- Add missing executable bits to all scripts
- Remove executable bits from all files that are not scripts,
  e.g. js, html, and Python libraries.
- Remove Python shebang from all Python library files.

It's frown upon to have executable library files in site-packages.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Armando Neto <abiagion@redhat.com>
2018-07-05 19:46:42 +02:00
..
bin Removal of deprecated selenium tests 2013-08-15 13:17:40 +02:00
data Documenting kinit_lifetime in /etc/ipa/default.conf 2018-01-12 20:33:20 +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 Update tests 2017-12-14 18:57:37 +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 Update tests 2017-12-14 18:57:37 +01: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 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 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
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 Update tests 2017-12-14 18:57:37 +01: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