summaryrefslogtreecommitdiff
path: root/tests/system/shared/qtquick.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/shared/qtquick.py')
-rw-r--r--tests/system/shared/qtquick.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/system/shared/qtquick.py b/tests/system/shared/qtquick.py
index 858a5dce41..c5d3d56c17 100644
--- a/tests/system/shared/qtquick.py
+++ b/tests/system/shared/qtquick.py
@@ -105,7 +105,11 @@ def runAndCloseApp():
# the following is currently a work-around for not using hooking into subprocesses
if (waitForObject(":Qt Creator_Core::Internal::OutputPaneToggleButton").checked!=True):
clickButton(":Qt Creator_Core::Internal::OutputPaneToggleButton")
- clickButton(":Qt Creator.Stop_QToolButton")
+ playButton = verifyEnabled(":Qt Creator.ReRun_QToolButton", False)
+ stopButton = verifyEnabled(":Qt Creator.Stop_QToolButton")
+ clickButton(stopButton)
+ test.verify(playButton.enabled)
+ test.compare(stopButton.enabled, False)
return True
def runAndCloseQtQuickUI():