summaryrefslogtreecommitdiff
path: root/tests/system/shared/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/shared/project.py')
-rw-r--r--tests/system/shared/project.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py
index 634269cc6d..b814680f8d 100644
--- a/tests/system/shared/project.py
+++ b/tests/system/shared/project.py
@@ -456,8 +456,8 @@ def __closeSubprocessByPushingStop__(sType):
stopButton = verifyEnabled(":Qt Creator.Stop_QToolButton")
if stopButton.enabled:
clickButton(stopButton)
- test.verify(playButton.enabled)
- test.compare(stopButton.enabled, False)
+ test.verify(waitFor("playButton.enabled", 5000), "Play button should be enabled")
+ test.compare(stopButton.enabled, False, "Stop button should be disabled")
if sType == SubprocessType.QT_QUICK_UI and platform.system() == "Darwin":
waitFor("stopButton.enabled==False")
snooze(2)