diff options
author | fat <jacobthornton@gmail.com> | 2014-01-17 01:44:08 +0400 |
---|---|---|
committer | fat <jacobthornton@gmail.com> | 2014-01-17 01:44:08 +0400 |
commit | 3b2418e6885d31d9cd1eab33b4cb952e876f8cf7 (patch) | |
tree | 5c871ad6da85516130dcdfafc20012af375bffbc /js/tests/unit/tooltip.js | |
parent | 2f76821a4dce7683168ab190e53c64fdf13dd469 (diff) |
remove flaky pos bottom test which is effect by unit scroll pos
Diffstat (limited to 'js/tests/unit/tooltip.js')
-rw-r--r-- | js/tests/unit/tooltip.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js index 2a74b2a55c..fa1ad57fe3 100644 --- a/js/tests/unit/tooltip.js +++ b/js/tests/unit/tooltip.js @@ -387,8 +387,6 @@ $(function () { }) test('tooltips should be placed dynamically, with the dynamic placement option', function () { - $(document.body).scrollTop(0) // force to top of page - $.support.transition = false var ttContainer = $('<div id="dynamic-tt-test"/>').css({ 'height' : 400, @@ -416,14 +414,6 @@ $(function () { ok($('.tooltip').is('.left'), 'right positioned tooltip is dynamically positioned left') rightTooltip.tooltip('hide') - var bottomTooltip = $('<div style="display: inline-block; position: absolute; bottom: 0;" rel="tooltip" title="Bottom tooltip">Bottom Dynamic Tooltip</div>') - .appendTo('#dynamic-tt-test') - .tooltip({placement: 'auto bottom'}) - .tooltip('show') - - ok($('.tooltip').is('.top'), 'bottom positioned tooltip is dynamically positioned top') - bottomTooltip.tooltip('hide') - var leftTooltip = $('<div style="display: inline-block; position: absolute; left: 0;" rel="tooltip" title="Left tooltip">Left Dynamic Tooltip</div>') .appendTo('#dynamic-tt-test') .tooltip({placement: 'auto left'}) |