diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py index 016891a7320f6213d81afc10597a125d78cbff92..97f1d7c5d4296bc111e21a85e96605751e95d63c 100644 --- a/tests/system/shared/utils.py +++ b/tests/system/shared/utils.py @@ -615,9 +615,9 @@ def verifyItemOrder(items, text): def openVcsLog(): try: - foundObj = waitForObject("{type='QPlainTextEdit' unnamed='1' visible='1' " + foundObj = waitForObject("{type='Core::OutputWindow' unnamed='1' visible='1' " "window=':Qt Creator_Core::Internal::MainWindow'}", 2000) - if className(foundObj) != 'QPlainTextEdit': + if className(foundObj) != 'Core::OutputWindow': raise Exception("Found derived class, but not a pure QPlainTextEdit.") except: invokeMenuItem("Window", "Output Panes", "Version Control") diff --git a/tests/system/suite_tools/tst_git_clone/test.py b/tests/system/suite_tools/tst_git_clone/test.py index 2ff1687577484d49a97503ffdbf7fd923f1e1b0c..bb941c473f0236da1bac349268d8a55020aa9292 100644 --- a/tests/system/suite_tools/tst_git_clone/test.py +++ b/tests/system/suite_tools/tst_git_clone/test.py @@ -63,7 +63,7 @@ def verifyCloneLog(targetDir, canceled): def verifyVersionControlView(targetDir, canceled): openVcsLog() - vcsLog = str(waitForObject("{type='QPlainTextEdit' unnamed='1' visible='1' " + vcsLog = str(waitForObject("{type='Core::OutputWindow' unnamed='1' visible='1' " "window=':Qt Creator_Core::Internal::MainWindow'}").plainText) test.log("Clone log is: %s" % vcsLog) test.verify("Executing in " + targetDir + ":" in vcsLog, diff --git a/tests/system/suite_tools/tst_git_local/test.py b/tests/system/suite_tools/tst_git_local/test.py index b969c4c86d1e5d17c5a7a9d7033c535c3eecda44..affd6bbc64fc61cd94a30974f6050e8cd84e067b 100644 --- a/tests/system/suite_tools/tst_git_local/test.py +++ b/tests/system/suite_tools/tst_git_local/test.py @@ -166,7 +166,7 @@ def main(): return createProject_Qt_GUI(srcPath, projectName, addToVersionControl = "Git") openVcsLog() - vcsLog = waitForObject("{type='QPlainTextEdit' unnamed='1' visible='1' " + vcsLog = waitForObject("{type='Core::OutputWindow' unnamed='1' visible='1' " "window=':Qt Creator_Core::Internal::MainWindow'}").plainText test.verify("Initialized empty Git repository in %s" % os.path.join(srcPath, projectName, ".git").replace("\\", "/") in str(vcsLog),