From 8f3fda10fff9a9be68899531624daf24a0d5af45 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Thu, 9 Mar 2017 13:52:14 +0100 Subject: [PATCH] Squish: Update tst_HELP06 after fix This reverts commit 2cd684b09211d9a64abc387ebe4b7547ea9dffbe. Change-Id: I6543f96efa227e398dabaa14538ecc1f3174b757 Task-number: QTCREATORBUG-10585 Reviewed-by: Christian Stenger --- tests/system/suite_HELP/tst_HELP06/test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/system/suite_HELP/tst_HELP06/test.py b/tests/system/suite_HELP/tst_HELP06/test.py index 610ebc23fdf..d1d87f0b048 100755 --- a/tests/system/suite_HELP/tst_HELP06/test.py +++ b/tests/system/suite_HELP/tst_HELP06/test.py @@ -57,8 +57,10 @@ def main(): doubleClick(manualQMIObj, 5, 5, 0, Qt.LeftButton) if not waitFor("not manualQMIObj.collapsed", 2000): test.warning("It takes more than two seconds to expand the help content tree.") + gettingStartedQModelIndex = getQModelIndexStr("text='Getting Started'", manualQModelIndex) + doubleClick(gettingStartedQModelIndex, 5, 5, 0, Qt.LeftButton) mouseClick(waitForObject(getQModelIndexStr("text='Building and Running an Example'", - manualQModelIndex)), 5, 5, 0, Qt.LeftButton) + gettingStartedQModelIndex))) helpSelector = waitForObject(":Qt Creator_HelpSelector_QComboBox") pageOpened = "str(helpSelector.currentText).startswith('Building and Running an Example')" if not waitFor(pageOpened, 10000):