Refactor feature files to add proper description

This commit is contained in:
Swikriti Tripathi
2023-04-26 09:46:05 +05:45
parent 4076bc71e6
commit 4d98c24392
15 changed files with 48 additions and 6 deletions
@@ -1,6 +1,5 @@
@api
Feature: COPY file/folder
As a user
I want to copy a file or folder
So that I can duplicate it
@@ -1,5 +1,8 @@
@api
Feature: delete file/folder
As a user
I want to delete a file or folder
So that I can remove redundant resources
Background:
Given these users have been created with default attributes and without skeleton files:
@@ -33,6 +36,7 @@ Feature: delete file/folder
| /remote.php/dav/spaces/%spaceid%/PARENT/parent.txt |
Then the HTTP status code of responses on all endpoints should be "401"
Scenario: send DELETE requests to webDav endpoints as normal user with no password
When user "Alice" requests these endpoints with "DELETE" using password "" about user "Alice"
| endpoint |
@@ -1,5 +1,8 @@
@api
Feature: LOCK file/folder
As a user
I want to lock a file or folder
So that I can ensure that the resources won't be changed without authentication
Background:
Given these users have been created with default attributes and without skeleton files:
@@ -1,5 +1,8 @@
@api
Feature: create folder using MKCOL
As a user
I want to create folders
So that I can organise resources in folders
Background:
Given user "Alice" has been created with default attributes and without skeleton files
@@ -1,5 +1,8 @@
@api
Feature: MOVE file/folder
As a user
I want to move resources
So that I can organise resources according to my preference
Background:
Given these users have been created with default attributes and without skeleton files:
@@ -1,5 +1,8 @@
@api
Feature: get file info using POST
Feature: POST file/folder
As a user
I want to send POST request to various endpoints
So that I can ensure the endpoints are well authenticated
Background:
Given these users have been created with default attributes and without skeleton files:
@@ -1,5 +1,8 @@
@api
Feature: get file info using PROPFIND
Feature: PROPFIND file/folder
As a user
I want to send PROPFIND request to various endpoints
So that I can ensure the endpoints are well authenticated
Background:
Given these users have been created with default attributes and without skeleton files:
@@ -1,5 +1,8 @@
@api
Feature: PROPPATCH file/folder
As a user
I want to send PROPPATCH request to various endpoints
So that I can ensure the endpoints are well authenticated
Background:
Given these users have been created with default attributes and without skeleton files:
@@ -1,5 +1,8 @@
@api
Feature: get file info using PUT
Feature: PUT file/folder
As a user
I want to send PUT request to various endpoints
So that I can ensure the endpoints are well authenticated
Background:
Given these users have been created with default attributes and without skeleton files:
@@ -1,5 +1,8 @@
@api @skipOnOcV10.10.0
Feature: make webdav request with special urls
As a user
I want to make webdav request with special urls
So that I can make sure that they work
Background:
Given user "Alice" has been created with default attributes and without skeleton files