diff --git a/tests/system/suite_general/tst_rename_file/test.py b/tests/system/suite_general/tst_rename_file/test.py index cb5d434fe15..f2ac949549a 100644 --- a/tests/system/suite_general/tst_rename_file/test.py +++ b/tests/system/suite_general/tst_rename_file/test.py @@ -110,6 +110,10 @@ def renameFile(projectDir, proFile, branch, oldname, newname): "Only the filename without the extension is selected?") replaceEditorContent(replaceEdit, newname) type(replaceEdit, "") + if oldname == "adding.qrc": + clickButton(waitForObject("{text='No' type='QPushButton' unnamed='1' visible='1' " + "window={type='QMessageBox' unnamed='1' visible='1' " + " windowTitle='Rename More Files?'}}")) test.verify(waitFor("os.path.exists(newFilePath)", 1000), "Verify that file with new name exists: %s" % newFilePath) test.compare(readFile(newFilePath), oldFileText,