Fixed unit tests after widget refactoring
https://fedorahosted.org/freeipa/ticket/2040
This commit is contained in:
1 parent
2759ea2961
commit
c5ca34f41d
13 files changed
+479
-296
No files matched your search
@@ -149,13 +149,11 @@ test("Testing IPA.navigation.update() with valid index.", function() {
|
||||
|
||||
same(
|
||||
tabs_container.tabs('option', 'selected'), 0,
|
||||
"Active tab at level 1"
|
||||
);
|
||||
"Active tab at level 1");
|
||||
|
||||
same(
|
||||
$('.tabs[name=identity]', tabs_container).tabs('option', 'selected'), 1,
|
||||
"Active tab at level 2"
|
||||
);
|
||||
"Active tab at level 2");
|
||||
|
||||
navigation.remove_state("identity");
|
||||
|
||||
@@ -201,13 +199,11 @@ test("Testing IPA.navigation.update() with out-of-range index.", function() {
|
||||
|
||||
same(
|
||||
tabs_container.tabs('option', 'selected'), 0,
|
||||
"Active tab at level 1"
|
||||
);
|
||||
"Active tab at level 1");
|
||||
|
||||
same(
|
||||
$('.tabs[name=identity]', tabs_container).tabs('option', 'selected'), 0,
|
||||
"Active tab at level 2"
|
||||
);
|
||||
"Active tab at level 2");
|
||||
|
||||
navigation.remove_state("identity");
|
||||
|
||||
|
||||
Reference in new issue
Block a user