aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_CSUP/tst_CSUP01
diff options
context:
space:
mode:
authorJan Kerekes <jan.kerekes@ixonos.com>2012-04-03 14:49:47 +0200
committerChristian Stenger <christian.stenger@nokia.com>2012-04-24 15:36:17 +0200
commit98c926f7e57a47066cf92dc719a07112cc17680a (patch)
tree353cb55f8804cd737d1cc9bc88eef503e86338ae /tests/system/suite_CSUP/tst_CSUP01
parent8ddf1fd40cb5b6e2d85014e92a0f93831f521e5e (diff)
Added new test cases/suite for QML support
initial commit Change-Id: Ifff6a8f9f6b74e099a906fafeb7db2c74aa3bc6f Reviewed-by: Robert Löhning <robert.loehning@nokia.com> Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Diffstat (limited to 'tests/system/suite_CSUP/tst_CSUP01')
-rw-r--r--tests/system/suite_CSUP/tst_CSUP01/test.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/system/suite_CSUP/tst_CSUP01/test.py b/tests/system/suite_CSUP/tst_CSUP01/test.py
index 8bf70f6982..90d8ec295a 100644
--- a/tests/system/suite_CSUP/tst_CSUP01/test.py
+++ b/tests/system/suite_CSUP/tst_CSUP01/test.py
@@ -43,15 +43,8 @@ def main():
"Step 4: Verifying if: Word 'void' is completed because only one option is available.")
# Step 5: From "Tools -> Options -> Text Editor -> Completion" select Activate completion Manually,
# uncheck Autocomplete common prefix and press Apply and then Ok . Return to Edit mode.
- invokeMenuItem("Tools", "Options...")
- waitForObjectItem(":Options_QListView", "Text Editor")
- clickItem(":Options_QListView", "Text Editor", 5, 5, 0, Qt.LeftButton)
- clickTab(waitForObject(":Options.qt_tabwidget_tabbar_QTabBar"), "Completion")
- clickButton(waitForObject(":Behavior.Autocomplete common prefix_QCheckBox"))
- selectFromCombo(":Behavior.completionTrigger_QComboBox", "Manually")
- test.verify(object.exists(":Options.OK_QPushButton"),
- "Step 5: Verifying if: Code completion preferences can be changed.")
- clickButton(waitForObject(":Options.OK_QPushButton"))
+ test.log("Step 5: Change Code Completion settings")
+ changeAutocompleteToManual()
# Step 6: Insert text "ret" and press Ctrl+Space.
editorWidget = waitForObject(":Qt Creator_CppEditor::Internal::CPPEditorWidget")
mouseClick(editorWidget, 5, 5, 0, Qt.LeftButton)