diff options
author | Robert Loehning <robert.loehning@digia.com> | 2013-02-20 19:49:32 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@digia.com> | 2013-02-21 13:55:45 +0100 |
commit | 7c9d2e3a1a3e1fa8a2159bdb33edab5d23700cd0 (patch) | |
tree | 4555272496c5cd28d337aeb64a3a2f3ac06c4424 /tests/system/suite_QMLS/tst_QMLS04/test.py | |
parent | c937226db1c3c2d98e4a73d7dacde8e35d8cbc1c (diff) | |
download | qt-creator-7c9d2e3a1a3e1fa8a2159bdb33edab5d23700cd0.tar.gz |
Squish: Fix invoking context menu sub items
Change-Id: I7d498ac3d4e2e2d25b3c504a95f96e434d0d1619
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests/system/suite_QMLS/tst_QMLS04/test.py')
-rw-r--r-- | tests/system/suite_QMLS/tst_QMLS04/test.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/system/suite_QMLS/tst_QMLS04/test.py b/tests/system/suite_QMLS/tst_QMLS04/test.py index 8b88e610fb..e807c7f88b 100644 --- a/tests/system/suite_QMLS/tst_QMLS04/test.py +++ b/tests/system/suite_QMLS/tst_QMLS04/test.py @@ -8,9 +8,7 @@ def main(): for i in range(5): type(editorArea, "<Left>") # invoke Refactoring - Move Component into separate file - ctxtMenu = openContextMenuOnTextCursorPosition(editorArea) - activateItem(waitForObjectItem(objectMap.realName(ctxtMenu), "Refactoring")) - activateItem(waitForObjectItem(objectMap.realName(ctxtMenu), "Move Component into Separate File")) + invokeContextMenuItem(editorArea, "Refactoring", "Move Component into Separate File") # give component name and proceed replaceEditorContent(waitForObject(":Dialog.componentNameEdit_QLineEdit"), "MyComponent") clickButton(waitForObject(":Dialog.OK_QPushButton")) |