Commit 1f6b88c4 authored by Robert Loehning's avatar Robert Loehning Committed by Robert Löhning

Squish: Moved workaround for QTCREATORBUG-6853 to new location

Change-Id: I4879b5454248d0738c6b3b5ec9b228ec59cdc787
Reviewed-by: default avatarBill King <bill.king@nokia.com>
Reviewed-by: default avatarChristian Stenger <christian.stenger@nokia.com>
parent 9a5af008
......@@ -168,6 +168,7 @@ class JIRA:
# ALWAYS update this dict when adding a new function for a workaround!
def __initBugDict__(self):
self.__bugs__= {
'QTCREATORBUG-6853':self._workaroundCreator6853_,
'QTCREATORBUG-6918':self._workaroundCreator_MacEditorFocus_,
'QTCREATORBUG-6953':self._workaroundCreator_MacEditorFocus_
}
......@@ -177,6 +178,10 @@ class JIRA:
############### functions that hold workarounds #################################
def _workaroundCreator6853_(self, *args):
if "Release" in args[0] and platform.system() == "Linux":
snooze(1)
def _workaroundCreator_MacEditorFocus_(self, *args):
editor = args[0]
nativeMouseClick(editor.mapToGlobal(QPoint(50, 50)).x, editor.mapToGlobal(QPoint(50, 50)).y, Qt.LeftButton)
......@@ -51,8 +51,7 @@ def main():
test.log("Debugging application")
runControlFinished = False
invokeMenuItem("Debug", "Start Debugging", "Start Debugging")
if "Release" in config and platform.system() == "Linux":
snooze(1) # work around QTCREATORBUG-6853
JIRA.performWorkaroundIfStillOpen(6853, JIRA.Bug.CREATOR, config)
handleDebuggerWarnings(config)
waitFor("runControlFinished==True")
try:
......
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