aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/shared
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-09-30 11:14:19 +0200
committerRobert Loehning <robert.loehning@qt.io>2019-10-24 09:37:12 +0000
commit99deb21b7aa81d6a5d6036af2a5022ede2c07052 (patch)
treea085cfc1cfd8695a449ab2c6de2577ea904dfe84 /tests/system/shared
parent3c78d4d74d69ab44e49d6c3d854abf12ab2b2d3a (diff)
Squish: Adapt verification of kits
Kits are nowadays displayed if configured, but disabled if they do not fit for the respective project. Change-Id: If04a20afde2fc1ada643e45d5eea33e6ace7a4f1 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests/system/shared')
-rw-r--r--tests/system/shared/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py
index ef46aca7b2..6501f738a2 100644
--- a/tests/system/shared/utils.py
+++ b/tests/system/shared/utils.py
@@ -391,9 +391,9 @@ def getConfiguredKits():
test.log("Configured kits: %s" % str(result))
return result
-def visibleCheckBoxExists(text):
+def enabledCheckBoxExists(text):
try:
- findObject("{type='QCheckBox' text='%s' visible='1'}" % text)
+ waitForObject("{type='QCheckBox' text='%s'}" % text, 100)
return True
except:
return False