diff options
author | Christian Stenger <christian.stenger@nokia.com> | 2012-04-05 14:57:13 +0200 |
---|---|---|
committer | Robert Löhning <robert.loehning@nokia.com> | 2012-04-05 20:05:54 +0200 |
commit | fb85d0a0f2d34f444a1c5c02267354f382aab171 (patch) | |
tree | 34d61bb446f134e946d633a931ece63c95e44dfe /tests | |
parent | 158dfffe7d72aa1acd74254a2cab8c52da68d52a (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.py | 4 |
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 |