Commit d39ac6bf authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Use keyboard interaction instead of textCursor manipulation

Change-Id: I40f27c7b542f512de78ea2e7fa6e777b652edc4a
Reviewed-by: default avatarChristian Stenger <>
parent e315d129
......@@ -92,9 +92,10 @@ def main():
if not waitFor("'dummy.cpp ' in str(mainWin.windowTitle) and ' - cplusplus-tools - ' in str(mainWin.windowTitle)", 5000):
test.warning("Opening dummy.cpp seems to have failed")
# Reset cursor to the start of the document
cursor = findObject(":Qt Creator_CppEditor::Internal::CPPEditorWidget").textCursor()
if platform.system() == 'Darwin':
type(cppwindow, "<Home>")
type(cppwindow, "<Ctrl+Home>")
type(cppwindow, "<Ctrl+F>")
clickButton(waitForObject(":*Qt Creator_Utils::IconButton"))
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