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,5 +1,8 @@
@api
Feature: sharing
As a user
I want to check the webdav share permissions
So that I know the resources have proper permissions
Background:
Given using OCS API version "1"
@@ -9,7 +12,7 @@ Feature: sharing
| Brian |
@smokeTest
Scenario Outline: Correct webdav share-permissions for owned file
Scenario Outline: check webdav share-permissions for owned file
Given using <dav-path> DAV path
And user "Alice" has uploaded file with content "foo" to "/tmp.txt"
When user "Alice" gets the following properties of file "/tmp.txt" using the WebDAV API
@@ -28,7 +31,7 @@ Feature: sharing
| spaces |
Scenario Outline: Correct webdav share-permissions for received file with edit and reshare permissions
Scenario Outline: check webdav share-permissions for received file with edit and reshare permissions
Given using <dav-path> DAV path
And user "Alice" has uploaded file with content "foo" to "/tmp.txt"
And user "Alice" has shared file "/tmp.txt" with user "Brian"
@@ -44,7 +47,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for received group shared file with edit and reshare permissions
Scenario Outline: check webdav share-permissions for received group shared file with edit and reshare permissions
Given using <dav-path> DAV path
And group "grp1" has been created
And user "Brian" has been added to group "grp1"
@@ -66,7 +69,7 @@ Feature: sharing
| new |
@issue-2213
Scenario Outline: Correct webdav share-permissions for received file with edit permissions but no reshare permissions
Scenario Outline: check webdav share-permissions for received file with edit permissions but no reshare permissions
Given using <dav-path> DAV path
And user "Alice" has uploaded file with content "foo" to "/tmp.txt"
And user "Alice" has shared file "tmp.txt" with user "Brian"
@@ -81,7 +84,7 @@ Feature: sharing
| new |
@issue-2213
Scenario Outline: Correct webdav share-permissions for received group shared file with edit permissions but no reshare permissions
Scenario Outline: check webdav share-permissions for received group shared file with edit permissions but no reshare permissions
Given using <dav-path> DAV path
And group "grp1" has been created
And user "Brian" has been added to group "grp1"
@@ -103,7 +106,7 @@ Feature: sharing
| new |
@issue-2213
Scenario Outline: Correct webdav share-permissions for received file with reshare permissions but no edit permissions
Scenario Outline: check webdav share-permissions for received file with reshare permissions but no edit permissions
Given using <dav-path> DAV path
And user "Alice" has uploaded file with content "foo" to "/tmp.txt"
And user "Alice" has shared file "tmp.txt" with user "Brian"
@@ -118,7 +121,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for received group shared file with reshare permissions but no edit permissions
Scenario Outline: check webdav share-permissions for received group shared file with reshare permissions but no edit permissions
Given using <dav-path> DAV path
And group "grp1" has been created
And user "Brian" has been added to group "grp1"
@@ -140,7 +143,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for owned folder
Scenario Outline: check webdav share-permissions for owned folder
Given using <dav-path> DAV path
And user "Alice" has created folder "/tmp"
When user "Alice" gets the following properties of folder "/" using the WebDAV API
@@ -159,7 +162,7 @@ Feature: sharing
| spaces |
Scenario Outline: Correct webdav share-permissions for received folder with all permissions
Scenario Outline: check webdav share-permissions for received folder with all permissions
Given using <dav-path> DAV path
And user "Alice" has created folder "/tmp"
And user "Alice" has shared file "/tmp" with user "Brian"
@@ -175,7 +178,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for received group shared folder with all permissions
Scenario Outline: check webdav share-permissions for received group shared folder with all permissions
Given using <dav-path> DAV path
And group "grp1" has been created
And user "Brian" has been added to group "grp1"
@@ -196,7 +199,7 @@ Feature: sharing
| new |
@issue-2213
Scenario Outline: Correct webdav share-permissions for received folder with all permissions but edit
Scenario Outline: check webdav share-permissions for received folder with all permissions but edit
Given using <dav-path> DAV path
And user "Alice" has created folder "/tmp"
And user "Alice" has shared file "/tmp" with user "Brian"
@@ -211,7 +214,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for received group shared folder with all permissions but edit
Scenario Outline: check webdav share-permissions for received group shared folder with all permissions but edit
Given using <dav-path> DAV path
And group "grp1" has been created
And user "Brian" has been added to group "grp1"
@@ -233,7 +236,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for received folder with all permissions but create
Scenario Outline: check webdav share-permissions for received folder with all permissions but create
Given using <dav-path> DAV path
And user "Alice" has created folder "/tmp"
And user "Alice" has shared file "/tmp" with user "Brian"
@@ -248,7 +251,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for received group shared folder with all permissions but create
Scenario Outline: check webdav share-permissions for received group shared folder with all permissions but create
Given using <dav-path> DAV path
And group "grp1" has been created
And user "Brian" has been added to group "grp1"
@@ -270,7 +273,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for received folder with all permissions but delete
Scenario Outline: check webdav share-permissions for received folder with all permissions but delete
Given using <dav-path> DAV path
And user "Alice" has created folder "/tmp"
And user "Alice" has shared file "/tmp" with user "Brian"
@@ -285,7 +288,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for received group shared folder with all permissions but delete
Scenario Outline: check webdav share-permissions for received group shared folder with all permissions but delete
Given using <dav-path> DAV path
And group "grp1" has been created
And user "Brian" has been added to group "grp1"
@@ -307,7 +310,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for received folder with all permissions but share
Scenario Outline: check webdav share-permissions for received folder with all permissions but share
Given using <dav-path> DAV path
And user "Alice" has created folder "/tmp"
And user "Alice" has shared file "/tmp" with user "Brian"
@@ -322,7 +325,7 @@ Feature: sharing
| new |
Scenario Outline: Correct webdav share-permissions for received group shared folder with all permissions but share
Scenario Outline: check webdav share-permissions for received group shared folder with all permissions but share
Given using <dav-path> DAV path
And group "grp1" has been created
And user "Brian" has been added to group "grp1"