forked from qt-creator/qt-creator
Squish: Avoid menu problems with Squish 6.0.0
Change-Id: I43219d36f07e2b5636f84f891f94220148f4dd7f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -345,6 +345,7 @@ def validateSearchResult(expectedCount):
|
||||
# this function invokes context menu and command from it
|
||||
def invokeContextMenuItem(editorArea, command1, command2 = None):
|
||||
ctxtMenu = openContextMenuOnTextCursorPosition(editorArea)
|
||||
snooze(1)
|
||||
if platform.system() == 'Darwin':
|
||||
activateItem(ctxtMenu, command1)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user