summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-03-10 15:36:12 +0100
committerEike Ziller <eike.ziller@qt.io>2017-03-10 15:38:01 +0100
commit0467aa5c9065c0dcc8636f79709316da1122e908 (patch)
tree359062bfff3fbee759d433792b315a137799f416 /tests
parent42c68ad7b51a809e25c8493c221a7ca730c9539d (diff)
parentef470a1d10c619f28614140d71e694253e8e6b47 (diff)
downloadqt-creator-0467aa5c9065c0dcc8636f79709316da1122e908.tar.gz
Merge remote-tracking branch 'origin/4.2' into 4.3
Change-Id: I2f32404f36ed885e78a7616da2f686943a8c8471
Diffstat (limited to 'tests')
-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 610ebc23fd..d1d87f0b04 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):