aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_HELP
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2017-03-09 13:52:14 +0100
committerChristian Stenger <christian.stenger@qt.io>2017-03-09 14:59:03 +0000
commit8f3fda10fff9a9be68899531624daf24a0d5af45 (patch)
treebfffc0506ee7151447d08bfc82b4f2fcef32e537 /tests/system/suite_HELP
parent33fa4b401c8e4f49cbee3bd31c7c21ade37faf6d (diff)
Squish: Update tst_HELP06 after fix
This reverts commit 2cd684b09211d9a64abc387ebe4b7547ea9dffbe. Change-Id: I6543f96efa227e398dabaa14538ecc1f3174b757 Task-number: QTCREATORBUG-10585 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system/suite_HELP')
-rwxr-xr-xtests/system/suite_HELP/tst_HELP06/test.py4
1 files changed, 3 insertions, 1 deletions
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):