diff options
Diffstat (limited to 'sw/qa/uitest/navigator/tdf134960.py')
-rw-r--r-- | sw/qa/uitest/navigator/tdf134960.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sw/qa/uitest/navigator/tdf134960.py b/sw/qa/uitest/navigator/tdf134960.py index 270e9d347abb..8388b63e40f9 100644 --- a/sw/qa/uitest/navigator/tdf134960.py +++ b/sw/qa/uitest/navigator/tdf134960.py @@ -9,7 +9,6 @@ from uitest.framework import UITestCase from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file -import time class tdf134960_hyperlinks(UITestCase): @@ -28,14 +27,6 @@ class tdf134960_hyperlinks(UITestCase): # wait until the navigator panel is available xNavigatorPanel = self.ui_test.wait_until_child_is_available('NavigatorPanel') - # HACK, see the `m_aUpdTimer.SetTimeout(1000)` in the SwContentTree ctor in - # sw/source/uibase/utlui/content.cxx, where that m_aUpdTimer is started by - # SwContentTree::ShowTree triggered from the SIDEBAR action above, and which can invalidate - # the TreeListEntryUIObjects used by the below code (see - # 2798430c8a711861fdcdfbf9ac00a0527abd3bfc "Mark the uses of TreeListEntryUIObject as - # dubious"); lets double that 1000 ms timeout value here to hopefully be on the safe side: - time.sleep(2) - xContentTree = xNavigatorPanel.getChild("contenttree") xHyperlinks = self.get_item(xContentTree, 'Hyperlinks') self.assertEqual('Hyperlinks', get_state_as_dict(xHyperlinks)['Text']) |