Remove dutlication of steps and scenarion name within a feature file

This commit is contained in:
Swikriti Tripathi
2023-05-05 15:27:26 +05:45
parent a571b372ae
commit 4ca58526fc
3 changed files with 5 additions and 6 deletions

View File

@@ -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:

View File

@@ -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_version> DAV path
And user "Alice" has created folder "<folder_name>"
And user "Alice" has uploaded file with content "uploaded content" to "<folder_name>/<file_name>"
@@ -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_version> DAV path
And user "Alice" has created folder "<folder_name>"
And user "Alice" has uploaded file with content "uploaded content" to "<folder_name>/<file_name>"

View File

@@ -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_version> DAV path
When user "Alice" uploads file with content "uploaded content" to "<file_name>" 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_version> DAV path
When user "Alice" uploads file with content "uploaded content" to <file_name> 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_version> DAV path
And user "Alice" has created folder "<folder_name>"
When user "Alice" uploads file with content "uploaded content" to "<folder_name>/<file_name>" using the WebDAV API