From fb85d0a0f2d34f444a1c5c02267354f382aab171 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 5 Apr 2012 14:57:13 +0200 Subject: [PATCH] Squish: Handle Update Generated Files on Mac MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I390ba57266ab983335a5d76d38a025b4306c5b74 Reviewed-by: Robert Löhning --- tests/system/shared/project.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/system/shared/project.py b/tests/system/shared/project.py index b133a66529..de59f8a74a 100644 --- a/tests/system/shared/project.py +++ b/tests/system/shared/project.py @@ -17,7 +17,9 @@ def openQmakeProject(projectPath, targets=QtQuickConstants.Targets.DESKTOP): selectFromFileDialog(projectPath) try: # handle update generated files dialog - waitForObject("{type='QMessageBox' unnamed='1' visible='1' windowTitle='Update of Generated Files'}", 3000) + waitForObject("{type='QLabel' name='qt_msgbox_label' visible='1' " + "text?='The following files are either outdated or have been modified*' " + "window={type='QMessageBox' unnamed='1' visible='1'}}", 3000) clickButton(waitForObject("{text='Yes' type='QPushButton' unnamed='1' visible='1'}")) except: pass -- 2.11.0