diff options
author | Robert Loehning <robert.loehning@qt.io> | 2018-04-19 15:54:43 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2018-04-20 08:44:07 +0000 |
commit | 038e214f904f50a70f9456a1e5737429ae3809a8 (patch) | |
tree | a1a66e5a23aeaaf16dfe41192201ab26d52ba5aa /tests | |
parent | 503fb603c3ed12fc65135e43977142a267938c97 (diff) |
Squish: Fix timing issue in tst_HELP04
Change-Id: Ib69429f9288fb767186c61e913a29fc75ddc4498
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--[-rwxr-xr-x] | tests/system/suite_HELP/tst_HELP04/test.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/system/suite_HELP/tst_HELP04/test.py b/tests/system/suite_HELP/tst_HELP04/test.py index ed90010e3b..0fc602717c 100755..100644 --- a/tests/system/suite_HELP/tst_HELP04/test.py +++ b/tests/system/suite_HELP/tst_HELP04/test.py @@ -85,12 +85,14 @@ def main(): switchViewTo(ViewConstants.HELP) # verify that search widget is accessible mouseClick(waitForObjectItem(":Qt Creator_Core::Internal::CommandComboBox", "Search")) + snooze(1) # Looks like searching is still available for an instant test.verify(checkIfObjectExists("{type='QHelpSearchQueryWidget' unnamed='1' visible='1' " - "window=':Qt Creator_Core::Internal::MainWindow'}"), + "window=':Qt Creator_Core::Internal::MainWindow'}", + timeout=600000), "Verifying search widget visibility.") # try to search empty string clickButton(waitForObject("{text='Search' type='QPushButton' unnamed='1' visible='1' " - "window=':Qt Creator_Core::Internal::MainWindow'}", 600000)) + "window=':Qt Creator_Core::Internal::MainWindow'}")) try: # Creator built with Qt <= 5.8.0 resultWidget = waitForObject(':Hits_QCLuceneResultWidget', 5000) |