Skip to content

Commit

Permalink
Merge pull request #37080 from swoichha/deleteFilesWithDotsInPath
Browse files Browse the repository at this point in the history
[Tests-Only] Scenario for deleting file from folder with dots in the path
  • Loading branch information
phil-davis authored Mar 6, 2020
2 parents c659843 + e35bb2c commit 5c32213
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/acceptance/features/apiWebdavOperations/deleteFile.feature
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,25 @@ Feature: delete file
| dav_version |
| old |
| new |

Scenario Outline: delete file from folder with dots in the path
Given using <dav_version> DAV path
And user "user0" has created folder "<folder_name>"
And user "user0" has uploaded file with content "uploaded content for file name with dots" to "<folder_name>/<file_name>"
When user "user0" deletes file "<folder_name>/<file_name>" using the WebDAV API
Then the HTTP status code should be "204"
And as "user0" file "<folder_name>/<file_name>" should not exist
Examples:
| dav_version | folder_name | file_name |
| old | /upload. | abc. |
| old | /upload. | abc . |
| old | /upload.1 | abc.txt |
| old | /upload...1.. | abc...txt.. |
| old | /... | ... |
| new | /upload. | abc. |
| new | /upload. | abc . |
| new | /upload.1 | abc.txt |
| new | /upload...1.. | abc...txt.. |
| new | /... | ... |
| new | /..upload | abc |
| new | /..upload | ..abc |

0 comments on commit 5c32213

Please sign in to comment.