diff --git a/tests/system/suite_editors/tst_generic_highlighter/test.py b/tests/system/suite_editors/tst_generic_highlighter/test.py index 4751074c9d4..fac23ced352 100644 --- a/tests/system/suite_editors/tst_generic_highlighter/test.py +++ b/tests/system/suite_editors/tst_generic_highlighter/test.py @@ -31,7 +31,7 @@ source("../../shared/qtcreator.py") def createFile(folder, filename): - __createProjectOrFileSelectType__(" General", "Text File", isProject = False) + __createProjectOrFileSelectType__(" General", "Empty File", isProject = False) replaceEditorContent(waitForObject("{name='nameLineEdit' visible='1' " "type='Utils::FileNameValidatingLineEdit'}"), filename) replaceEditorContent(waitForObject("{type='Utils::FancyLineEdit' unnamed='1' visible='1' " diff --git a/tests/system/suite_tools/tst_git_local/test.py b/tests/system/suite_tools/tst_git_local/test.py index 9055dcf63dd..1d87692e2a6 100644 --- a/tests/system/suite_tools/tst_git_local/test.py +++ b/tests/system/suite_tools/tst_git_local/test.py @@ -173,11 +173,10 @@ def main(): clickButton(waitForObject(":*Qt Creator.Clear_QToolButton")) addCPlusPlusFileToCurrentProject("pointless_header.h", "C++ Header File", addToVCS = "Git") commitMessages.insert(0, commit("Added pointless header file", "Committed 2 file(s).")) - __createProjectOrFileSelectType__(" General", "Text File", isProject=False) - readmeName = "README" + __createProjectOrFileSelectType__(" General", "Empty File", isProject=False) + readmeName = "README.txt" replaceEditorContent(waitForObject(":New Text File.nameLineEdit_Utils::FileNameValidatingLineEdit"), readmeName) clickButton(waitForObject(":Next_QPushButton")) - readmeName += ".txt" __createProjectHandleLastPage__([readmeName], "Git", "") replaceEditorContent(waitForObject(":Qt Creator_TextEditor::TextEditorWidget"), "Some important advice in the README")