diff --git a/tests/ui/features/files/renameFiles.feature b/tests/ui/features/files/renameFiles.feature index 84ea36d45ddb..4f160080fc48 100644 --- a/tests/ui/features/files/renameFiles.feature +++ b/tests/ui/features/files/renameFiles.feature @@ -36,12 +36,17 @@ Feature: renameFiles Scenario: Rename a file using forbidden characters When I rename the file "data.zip" to one of these names - |.htaccess | |lorem\txt | |\\.txt | Then notifications should be displayed with the text |Could not rename "data.zip"| |Could not rename "data.zip"| + And the file "data.zip" should be listed + + Scenario: Rename a file to a forbidden name + When I rename the file "data.zip" to one of these names + |.htaccess | + Then notifications should be displayed with the text |Could not rename "data.zip"| And the file "data.zip" should be listed diff --git a/tests/ui/features/files/renameFolders.feature b/tests/ui/features/files/renameFolders.feature index 4a6f1c0fb762..1e5fda6e20d7 100644 --- a/tests/ui/features/files/renameFolders.feature +++ b/tests/ui/features/files/renameFolders.feature @@ -35,12 +35,17 @@ Feature: renameFolders Scenario: Rename a folder using forbidden characters When I rename the folder "simple-folder" to one of these names - |.htaccess | |simple\folder | |\\simple-folder | Then notifications should be displayed with the text |Could not rename "simple-folder"| |Could not rename "simple-folder"| + And the folder "simple-folder" should be listed + + Scenario: Rename a folder to a forbidden name + When I rename the folder "simple-folder" to one of these names + |.htaccess | + Then notifications should be displayed with the text |Could not rename "simple-folder"| And the folder "simple-folder" should be listed