summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@digia.com>2013-07-18 12:42:13 +0200
committerRobert Loehning <robert.loehning@digia.com>2013-07-18 16:10:23 +0200
commit732f8a06aec03a07f18e8f7a7e6092e0a56b57ea (patch)
treeca8d8e56e69b03d71ed4e8f4f6f396a76f54e309 /tests
parentf17bdffb111f394acc9be478322f24b6910037e3 (diff)
downloadqt-creator-732f8a06aec03a07f18e8f7a7e6092e0a56b57ea.tar.gz
Squish: Update for changed window title in Creator 3.0
Change-Id: I669e4822ea99bab22afe229d8dc822bc7ffc4550 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/suite_editors/tst_basic_cpp_support/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/suite_editors/tst_basic_cpp_support/test.py b/tests/system/suite_editors/tst_basic_cpp_support/test.py
index b009b5d6f6..f1a06a9b10 100644
--- a/tests/system/suite_editors/tst_basic_cpp_support/test.py
+++ b/tests/system/suite_editors/tst_basic_cpp_support/test.py
@@ -93,7 +93,7 @@ def main():
# Creator should show the declaration of the function again.
selectFromLocator("dummy.cpp")
mainWin = findObject(":Qt Creator_Core::Internal::MainWindow")
- waitFor("mainWin.windowTitle == 'dummy.cpp - cplusplus-tools - Qt Creator'")
+ waitFor("'dummy.cpp - cplusplus-tools - ' in str(mainWin.windowTitle)")
# Reset cursor to the start of the document
cursor = findObject(":Qt Creator_CppEditor::Internal::CPPEditorWidget").textCursor()
cursor.movePosition(QTextCursor.Start)