aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@nokia.com>2012-04-05 14:57:13 +0200
committerRobert Löhning <robert.loehning@nokia.com>2012-04-05 20:05:54 +0200
commitfb85d0a0f2d34f444a1c5c02267354f382aab171 (patch)
tree34d61bb446f134e946d633a931ece63c95e44dfe /tests
parent158dfffe7d72aa1acd74254a2cab8c52da68d52a (diff)
Squish: Handle Update Generated Files on Mac
Change-Id: I390ba57266ab983335a5d76d38a025b4306c5b74 Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/shared/project.py4
1 files changed, 3 insertions, 1 deletions
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