forked from qt-creator/qt-creator
Squish: Removed some Mac workarounds
Change-Id: I85a4fee5acbb36096283daec982a8d31e42573b4 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
@@ -34,8 +34,7 @@ if platform.system() == "Darwin":
|
||||
if str(args[0]).startswith('qtcreator'):
|
||||
args[0] = args[0].replace('qtcreator', '"Qt Creator"', 1)
|
||||
__origStartApplication__(*args)
|
||||
test.log("Using workaround for MacOS (losing focus & different AUT name)")
|
||||
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Maximize)
|
||||
test.log("Using workaround for MacOS (different AUT name)")
|
||||
|
||||
def waitForCleanShutdown(timeOut=10):
|
||||
appCtxt = currentApplicationContext()
|
||||
|
||||
@@ -221,8 +221,6 @@ def selectFromFileDialog(fileName):
|
||||
snooze(2)
|
||||
nativeType("<Return>")
|
||||
snooze(1)
|
||||
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Minimize)
|
||||
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Maximize)
|
||||
else:
|
||||
fName = os.path.basename(os.path.abspath(fileName))
|
||||
pName = os.path.dirname(os.path.abspath(fileName)) + os.sep
|
||||
|
||||
Reference in New Issue
Block a user