From 33aaeee67f2bceb3715387e4864b60e774461b12 Mon Sep 17 00:00:00 2001 From: jasson99 Date: Mon, 13 Jul 2020 15:12:57 +0545 Subject: [PATCH] Merge similar scenarios after the issue is solved --- .../createFolderEdgeCases.feature | 9 -------- .../webUIRenameFiles/renameFiles.feature | 21 +------------------ .../webUIRenameFolders/renameFolders.feature | 20 +----------------- 3 files changed, 2 insertions(+), 48 deletions(-) diff --git a/tests/acceptance/features/webUICreateFilesFolders/createFolderEdgeCases.feature b/tests/acceptance/features/webUICreateFilesFolders/createFolderEdgeCases.feature index db854a1edc1..1f6225af67c 100644 --- a/tests/acceptance/features/webUICreateFilesFolders/createFolderEdgeCases.feature +++ b/tests/acceptance/features/webUICreateFilesFolders/createFolderEdgeCases.feature @@ -22,15 +22,6 @@ Feature: create folder | "+-{$(882)" | | "home" | | "Sample,Folder,With,Comma" | - - # Merge with the scenario above once the issue is resolved - Scenario Outline: Create a folder using special characters - When the user creates a folder with the name using the webUI - Then folder should be listed on the webUI - When the user reloads the current page of the webUI - Then folder should be listed on the webUI - Examples: - | folder_name | | 'सिमप्ले फोल्देर $%#?&@' | @issue-2467 @ocis-reva-issue-106 diff --git a/tests/acceptance/features/webUIRenameFiles/renameFiles.feature b/tests/acceptance/features/webUIRenameFiles/renameFiles.feature index 33a7c043845..871a468a04f 100644 --- a/tests/acceptance/features/webUIRenameFiles/renameFiles.feature +++ b/tests/acceptance/features/webUIRenameFiles/renameFiles.feature @@ -20,28 +20,8 @@ Feature: rename files | '"quotes1"' | | "\"quote\"d-folders'" | | "'quotes2'" | - - # Merge with scenario above once the issue is resolved - @smokeTest - Scenario Outline: Rename a file - When the user renames file "lorem.txt" to using the webUI - Then file should be listed on the webUI - When the user reloads the current page of the webUI - Then file should be listed on the webUI - Examples: - | to_file_name | | "लोरेम।तयक्स्त? $%#&@" | - Scenario Outline: Rename a file that has special characters in its name - When the user renames file to using the webUI - Then file should be listed on the webUI - When the user reloads the current page of the webUI - Then file should be listed on the webUI - Examples: - | from_name | to_name | - | "'single'quotes.txt" | "single-quotes.txt" | - - # Merge with scenario above once the issue is resolved Scenario Outline: Rename a file that has special characters in its name Given the user has created file "sämple,1.txt" And the user has reloaded the current page of the webUI @@ -51,6 +31,7 @@ Feature: rename files Then file should be listed on the webUI Examples: | from_name | to_name | + | "'single'quotes.txt" | "single-quotes.txt" | | "strängé filename (duplicate #2 &).txt" | "strängé filename (duplicate #3).txt" | | "sämple,1.txt" | "file,with,commä,.txt" | diff --git a/tests/acceptance/features/webUIRenameFolders/renameFolders.feature b/tests/acceptance/features/webUIRenameFolders/renameFolders.feature index 03092279367..fd96ba4f9e0 100644 --- a/tests/acceptance/features/webUIRenameFolders/renameFolders.feature +++ b/tests/acceptance/features/webUIRenameFolders/renameFolders.feature @@ -19,27 +19,8 @@ Feature: rename folders | '"quotes1"' | | "'quotes2'" | | "home" | - - # Merge with scenario above once the issue is resolved - Scenario Outline: Rename a folder - When the user renames folder "simple-folder" to using the webUI - Then folder should be listed on the webUI - When the user reloads the current page of the webUI - Then folder should be listed on the webUI - Examples: - | to_folder_name | | 'सिमप्ले फोल्देर$%#?&@' | - Scenario Outline: Rename a folder that has special characters in its name - When the user renames folder to using the webUI - Then folder should be listed on the webUI - When the user reloads the current page of the webUI - Then folder should be listed on the webUI - Examples: - | from_name | to_name | - | "'single'quotes" | "single-quotes" | - - # Merge with scenario above once the issue is resolved Scenario Outline: Rename a folder that has special characters in its name Given the user has created file "Sample,Folder,With,Comma" And the user has reloaded the current page of the webUI @@ -49,6 +30,7 @@ Feature: rename folders Then folder should be listed on the webUI Examples: | from_name | to_name | + | "'single'quotes" | "single-quotes" | | "strängé नेपाली folder" | "strängé नेपाली folder-#?2" | | "Sample,Folder,With,Comma" | "Simple,Folder,With,Commä" |