aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/system/shared/utils.py
diff options
context:
space:
mode:
authorRobert LΓΆhning <robert.loehning@qt.io>2024-03-25 22:20:54 +0100
committerRobert LΓΆhning <robert.loehning@qt.io>2024-04-05 10:05:42 +0000
commit6822a76d4c7f0332f953b46e113434182a7e7e9f (patch)
treec946c82d34a929ca825815cddb50d9309ec5039f /Tests/system/shared/utils.py
parent5d1e2cd4792d5b7d5be2603f9c2235d9ec1ebe9d (diff)
Squish: Adjust timings
- When opening the "Qt VS Tools" menu while the add-on is still initializing, the "Initializing" placeholder might not appear immediately. Wait a moment for it to appear before assuming that initializing finished. - The "You must select a Qt version" message might need a couple of seconds to appear. Give it some more. - When creating a new project, the automatically opened editor never took longer than four seconds to appear here. Waiting for ten seconds should be sufficient before assuming it won't show. Change-Id: I4cc56452412639dd342e8805d642347bce73613f Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to 'Tests/system/shared/utils.py')
-rw-r--r--Tests/system/shared/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/system/shared/utils.py b/Tests/system/shared/utils.py
index 765ce2b1..84f67b1d 100644
--- a/Tests/system/shared/utils.py
+++ b/Tests/system/shared/utils.py
@@ -48,7 +48,7 @@ def openVsToolsMenu(version):
while True:
mouseClick(waitForObject(globalnames.extensions_MenuItem))
mouseClick(waitForObject(globalnames.extensions_Qt_VS_Tools_MenuItem, 5000))
- if not object.exists(globalnames.Initializing_MenuItem):
+ if not waitFor("object.exists(globalnames.Initializing_MenuItem)", 500):
break
mouseClick(waitForObject(globalnames.extensions_MenuItem)) # close menu
snooze(4)