From 4ca58526fcee2e59ef9573fd436775d86a22c3a6 Mon Sep 17 00:00:00 2001 From: Swikriti Tripathi Date: Fri, 5 May 2023 15:27:26 +0545 Subject: [PATCH] Remove dutlication of steps and scenarion name within a feature file --- .../acceptance/features/coreApiWebdavMove2/moveFile.feature | 1 - .../coreApiWebdavProperties2/getFileProperties.feature | 4 ++-- .../features/coreApiWebdavUpload1/uploadFile.feature | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/acceptance/features/coreApiWebdavMove2/moveFile.feature b/tests/acceptance/features/coreApiWebdavMove2/moveFile.feature index a7cb0213d3..6653def626 100644 --- a/tests/acceptance/features/coreApiWebdavMove2/moveFile.feature +++ b/tests/acceptance/features/coreApiWebdavMove2/moveFile.feature @@ -419,7 +419,6 @@ Feature: move (rename) file | new | texta | 0 | file.txt | | new | texta | 1 | file.txt | | new | texta | file.txt | 0 | - | new | texta | file.txt | 0 | @personalSpace Examples: diff --git a/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature b/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature index 974984165d..12385b1ada 100644 --- a/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature +++ b/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature @@ -101,7 +101,7 @@ Feature: get file properties | spaces | /folder &2.txt | dav/spaces/%spaceid%/folder &2.txt | - Scenario Outline: Do a PROPFIND of various files inside various folders + Scenario Outline: do a PROPFIND of various files inside various folders Given using DAV path And user "Alice" has created folder "" And user "Alice" has uploaded file with content "uploaded content" to "/" @@ -132,7 +132,7 @@ Feature: get file properties @issue-1259 #after fixing all issues delete this Scenario and merge with the one above - Scenario Outline: Do a PROPFIND of various files inside various folders + Scenario Outline: do a PROPFIND of various files inside various folders with '?' character in its name Given using DAV path And user "Alice" has created folder "" And user "Alice" has uploaded file with content "uploaded content" to "/" diff --git a/tests/acceptance/features/coreApiWebdavUpload1/uploadFile.feature b/tests/acceptance/features/coreApiWebdavUpload1/uploadFile.feature index 227db90f7b..8490e0f2b2 100644 --- a/tests/acceptance/features/coreApiWebdavUpload1/uploadFile.feature +++ b/tests/acceptance/features/coreApiWebdavUpload1/uploadFile.feature @@ -9,7 +9,7 @@ Feature: upload file And user "Alice" has been created with default attributes and without skeleton files @smokeTest - Scenario Outline: upload a file and check download content + Scenario Outline: upload a file and check etag and download content Given using DAV path When user "Alice" uploads file with content "uploaded content" to "" using the WebDAV API Then the HTTP status code should be "201" @@ -56,7 +56,7 @@ Feature: upload file @issue-1259 #after fixing all issues delete this Scenario and merge with the one above - Scenario Outline: upload a file and check download content + Scenario Outline: upload a file with character '?' in its name and check download content Given using DAV path When user "Alice" uploads file with content "uploaded content" to using the WebDAV API Then the HTTP status code should be "201" @@ -130,7 +130,7 @@ Feature: upload file @issue-1259 #after fixing all issues delete this Scenario and merge with the one above - Scenario Outline: upload a file into a folder and check download content + Scenario Outline: upload a file into a folder with character '?' in its name and check download content Given using DAV path And user "Alice" has created folder "" When user "Alice" uploads file with content "uploaded content" to "/" using the WebDAV API