From 169723dd873b541fd67d2159ec21ad81f437ce3e Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Wed, 12 Oct 2016 12:50:35 +0200 Subject: [PATCH] Squish: Fix openVcsLog() when an OutputWindow is already shown Change-Id: I47432b7367f238a92921bffb030eada902327bd5 Reviewed-by: Christian Stenger --- tests/system/shared/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py index ff36510a7cc..84242831084 100644 --- a/tests/system/shared/utils.py +++ b/tests/system/shared/utils.py @@ -628,6 +628,8 @@ def openVcsLog(): "window=':Qt Creator_Core::Internal::MainWindow'}", 2000) if className(foundObj) != 'Core::OutputWindow': raise Exception("Found derived class, but not a pure QPlainTextEdit.") + waitForObject("{text='Version Control' type='QLabel' unnamed='1' visible='1' " + "window=':Qt Creator_Core::Internal::MainWindow'}", 2000) except: invokeMenuItem("Window", "Output Panes", "Version Control")