Files
freeipa/install/ui/test
amitkuma 5c361f5450 Documenting kinit_lifetime in /etc/ipa/default.conf
Describing the parameter kinit_lifetime that allows to limit the lifetime of ticket obtained by users authenticating to the WebGUI using login/password. Removing session_auth_duration and session_duration_type since these parameters are not relevant anymore.

Resolves: https://pagure.io/freeipa/issue/7333
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2018-01-12 20:33:20 +01:00
..
2013-08-15 13:17:40 +02:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2013-01-18 15:10:37 +01:00
2017-08-31 10:35:03 +02:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2014-04-03 12:40:37 +02:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
2017-12-14 18:57:37 +01:00
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