Commit fb85d0a0 authored by Christian Stenger's avatar Christian Stenger Committed by Robert Löhning

Squish: Handle Update Generated Files on Mac

Change-Id: I390ba57266ab983335a5d76d38a025b4306c5b74
Reviewed-by: default avatarRobert Löhning <robert.loehning@nokia.com>
parent 158dfffe
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment