summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@digia.com>2014-01-20 11:30:02 +0100
committerChristian Stenger <christian.stenger@digia.com>2014-01-21 10:44:09 +0100
commit9f81e79c8f095b4755719cb8f7a8c5e8d9e6b4b6 (patch)
tree627935af2749884fe2ec0c2db62a3983c1c70370
parent82fdd52e821a2923b134f06accbb2937eb6df764 (diff)
downloadqt-creator-9f81e79c8f095b4755719cb8f7a8c5e8d9e6b4b6.tar.gz
Squish: Fix issue with menu invocation on Mac
Squish 5 has problems to handle menus on Mac for Qt5.2 builds. Change-Id: I533f8fcd2c8a2786ae354cd92e92efad0fb1dd57 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
-rw-r--r--tests/system/shared/hook_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/shared/hook_utils.py b/tests/system/shared/hook_utils.py
index a11d28b486..bc1a81b9fe 100644
--- a/tests/system/shared/hook_utils.py
+++ b/tests/system/shared/hook_utils.py
@@ -237,7 +237,7 @@ def __configureCustomExecutable__(projectName, port, mkspec, qmakeVersion):
"unnamed='1' visible='1'}")
clickButton(addButton)
addMenu = addButton.menu()
- activateItem(waitForObjectItem(objectMap.realName(addMenu), 'Custom Executable'))
+ activateItem(waitForObjectItem(addMenu, 'Custom Executable'))
exePathChooser = waitForObject(":Executable:_Utils::PathChooser", 2000)
exeLineEd = getChildByClass(exePathChooser, "Utils::BaseValidatingLineEdit")
argLineEd = waitForObject("{buddy={window=':Qt Creator_Core::Internal::MainWindow' "