diff options
Diffstat (limited to 'tests/system/suite_general/tst_rename_file')
-rw-r--r-- | tests/system/suite_general/tst_rename_file/test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/system/suite_general/tst_rename_file/test.py b/tests/system/suite_general/tst_rename_file/test.py index cb5d434fe1..f2ac949549 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, "<Return>") + 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, |