mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 17:01:14 -06:00
346615d4a0
Test framework for Web UI has been created using qUnit. The test files are located in install/static/test. The main page is index.html which contains links to all test suites (xxx_tests.html). The test cases are stored in xxx_tests.js. All test suites can be executed at once using all_tests.html. The test data is stored in data folder. This patch includes test suites for ipa.js and entity.js. Some variables and functions in ipa.js have been modified to accomodate testing (e.g. JSON URL, error handler, synchronous operation). The sampledata has been moved to test/data. The develop.js and webui.js also have been modified accordingly.
24 lines
919 B
HTML
24 lines
919 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Entity Test Suite</title>
|
|
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen">
|
|
<script type="text/javascript" src="qunit.js"></script>
|
|
<script type="text/javascript" src="../jquery.js"></script>
|
|
<script type="text/javascript" src="../ipa.js"></script>
|
|
<script type="text/javascript" src="../details.js"></script>
|
|
<script type="text/javascript" src="../search.js"></script>
|
|
<script type="text/javascript" src="../add.js"></script>
|
|
<script type="text/javascript" src="../entity.js"></script>
|
|
<script type="text/javascript" src="entity_tests.js"></script>
|
|
</head>
|
|
<body>
|
|
<h1 id="qunit-header">Entity Test Suite</h1>
|
|
<h2 id="qunit-banner"></h2>
|
|
<div id="qunit-testrunner-toolbar"></div>
|
|
<h2 id="qunit-userAgent"></h2>
|
|
<ol id="qunit-tests"></ol>
|
|
<div id="qunit-fixture">test markup</div>
|
|
</body>
|
|
</html>
|