Skip to content
Snippets Groups Projects
Commit 76cfe9e3 authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Update expected window title in tst_basic_cpp_support


Change-Id: Ic5d23a899d1b808780f76ef53c855397cc436c2f
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent a06af356
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,8 @@ def main():
# Creator should show the declaration of the function again.
selectFromLocator("dummy.cpp")
mainWin = findObject(":Qt Creator_Core::Internal::MainWindow")
waitFor("'dummy.cpp - cplusplus-tools - ' in str(mainWin.windowTitle)")
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()
cursor.movePosition(QTextCursor.Start)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment