diff options
author | Robert Loehning <robert.loehning@qt.io> | 2017-03-09 13:52:14 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2017-03-09 14:59:03 +0000 |
commit | 8f3fda10fff9a9be68899531624daf24a0d5af45 (patch) | |
tree | bfffc0506ee7151447d08bfc82b4f2fcef32e537 /tests/system/suite_HELP | |
parent | 33fa4b401c8e4f49cbee3bd31c7c21ade37faf6d (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-x | tests/system/suite_HELP/tst_HELP06/test.py | 4 |
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): |