Fixes details_test.js

Adds missing import which extends jquery's element with alert method.
Also fixes setting of breadcrumb and tabs in details spec - the code changes
behavior.

https://pagure.io/freeipa/issue/6974

Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
Pavel Vomacka 2017-07-10 09:14:30 +02:00
parent bb5582d52b
commit 6b70b91de4
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@
<script type="text/javascript" src="../js/libs/loader.js"></script>
<script type="text/javascript" src="../js/libs/jquery.js"></script>
<script type="text/javascript" src="../js/libs/jquery.ordered-map.js"></script>
<script type="text/javascript" src="../js/libs/bootstrap.js"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="../js/dojo/dojo.js"></script>

View File

@ -276,6 +276,8 @@ test("Testing IPA.details_section_create again()",function() {
var facet = IPA.details_facet({
entity: IPA.get_entity('user'),
disable_breadcrumb: true,
disable_facet_tabs: true,
sections: [
{
name:'IDIDID',
@ -344,4 +346,4 @@ test("Testing IPA.details_section_create again()",function() {
}
});
};});
};});