Add proper description to a feature file

This commit is contained in:
Swikriti Tripathi
2023-05-09 10:07:18 +05:45
parent 5b909f5923
commit c969faf8ef
20 changed files with 171 additions and 138 deletions
@@ -1,11 +1,14 @@
@api
Feature: sharing
As a user
I want to upload resources to a folder shared to me
So that other people can access the resource
Background:
Given user "Alice" has been created with default attributes and without skeleton files
Scenario: Uploading file to a user read-only share folder does not work
Scenario: uploading file to a user read-only share folder does not work
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "FOLDER"
And user "Alice" has created a share with settings
@@ -19,7 +22,7 @@ Feature: sharing
And as "Alice" file "/FOLDER/textfile.txt" should not exist
Scenario Outline: Uploading file to a group read-only share folder does not work
Scenario Outline: uploading file to a group read-only share folder does not work
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And group "grp1" has been created
@@ -40,7 +43,7 @@ Feature: sharing
| new |
Scenario Outline: Uploading file to a user upload-only share folder works
Scenario Outline: uploading file to a user upload-only share folder works
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "FOLDER"
@@ -66,7 +69,7 @@ Feature: sharing
| new |
Scenario Outline: Uploading file to a group upload-only share folder works
Scenario Outline: uploading file to a group upload-only share folder works
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And group "grp1" has been created
@@ -94,7 +97,7 @@ Feature: sharing
| new |
@smokeTest
Scenario Outline: Uploading file to a user read/write share folder works
Scenario Outline: uploading file to a user read/write share folder works
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "FOLDER"
@@ -118,7 +121,7 @@ Feature: sharing
| new |
Scenario Outline: Uploading file to a group read/write share folder works
Scenario Outline: uploading file to a group read/write share folder works
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And group "grp1" has been created
@@ -144,7 +147,7 @@ Feature: sharing
| new |
@smokeTest @skipOnGraph
Scenario Outline: Check quota of owners parent directory of a shared file
Scenario Outline: check quota of owners parent directory of a shared file
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And the quota of user "Brian" has been set to "0"
@@ -167,7 +170,7 @@ Feature: sharing
| new |
@skipOnGraph
Scenario Outline: Uploading to a user shared folder with read/write permission when the sharer has insufficient quota does not work
Scenario Outline: uploading to a user shared folder with read/write permission when the sharer has insufficient quota does not work
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and small skeleton files
And user "Alice" has created folder "FOLDER"
@@ -187,7 +190,7 @@ Feature: sharing
| new |
Scenario Outline: Uploading to a group shared folder with read/write permission when the sharer has insufficient quota does not work
Scenario Outline: uploading to a group shared folder with read/write permission when the sharer has insufficient quota does not work
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And group "grp1" has been created
@@ -209,7 +212,7 @@ Feature: sharing
| new |
@skipOnGraph
Scenario Outline: Uploading to a user shared folder with upload-only permission when the sharer has insufficient quota does not work
Scenario Outline: uploading to a user shared folder with upload-only permission when the sharer has insufficient quota does not work
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "FOLDER"
@@ -229,7 +232,7 @@ Feature: sharing
| new |
@skipOnGraph
Scenario Outline: Uploading to a group shared folder with upload-only permission when the sharer has insufficient quota does not work
Scenario Outline: uploading to a group shared folder with upload-only permission when the sharer has insufficient quota does not work
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And group "grp1" has been created
@@ -251,7 +254,7 @@ Feature: sharing
| new |
Scenario Outline: Sharer can download file uploaded with different permission by sharee to a shared folder
Scenario Outline: sharer can download file uploaded with different permission by sharee to a shared folder
Given using <dav-path> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "FOLDER"