diff options
author | Robert Loehning <robert.loehning@digia.com> | 2014-01-08 10:48:00 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@digia.com> | 2014-01-08 10:54:49 +0100 |
commit | ffbdbc855ce103c2f444f81fdfa00007fbd39844 (patch) | |
tree | 263175072cd7f4acd381e46cc56e73ceb9319ed5 /tests | |
parent | 746c5d886395f66d3f7af1461555a75300201db6 (diff) |
Squish: Give subprocess some seconds to quit
Change-Id: I83ca568b88537fca189425de1795b82eaca66105
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/system/shared/project.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py index 634269cc6d1..b814680f8dd 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) |