ONOS-1768 - GUI -- Tooltip doesn't appear on new view if switching by button, minor table height bug fix.
Change-Id: I443d13bb74ea5bae2948932153ca5a521b2b0fef
diff --git a/web/gui/src/main/webapp/tests/app/fw/widget/table-spec.js b/web/gui/src/main/webapp/tests/app/fw/widget/table-spec.js
index 6df87b3..4f8f0c0 100644
--- a/web/gui/src/main/webapp/tests/app/fw/widget/table-spec.js
+++ b/web/gui/src/main/webapp/tests/app/fw/widget/table-spec.js
@@ -180,7 +180,7 @@
}
function verifyHeight() {
- var padding = 12,
+ var padding = 22,
mastHeight = 36,
tableHeight = (mockWindow.innerHeight - mockHeaderHeight) -
(fs.noPx(headerDiv.css('height')) + mastHeight + padding);
diff --git a/web/gui/src/main/webapp/tests/app/fw/widget/tooltip-spec.js b/web/gui/src/main/webapp/tests/app/fw/widget/tooltip-spec.js
index 165b51d..0ae1f65 100644
--- a/web/gui/src/main/webapp/tests/app/fw/widget/tooltip-spec.js
+++ b/web/gui/src/main/webapp/tests/app/fw/widget/tooltip-spec.js
@@ -42,7 +42,7 @@
it('should define api functions', function () {
expect(fs.areFunctions(tts, [
- 'showTooltip', 'cancelTooltip', 'resetTooltip'
+ 'showTooltip', 'cancelTooltip'
])).toBeTruthy();
});