[tests-only] separate different SharingNG share steps (#9097)
* separate When steps using root and permissions endpoints test: separate resource sharing GIven step from space share test: share space via root endpoint in Given steps test: use existing step test: fix more steps * test: separate resource and space link share creation test: fix php code style
This commit is contained in:
@@ -186,7 +186,7 @@ Feature: copying file using file id
|
||||
And user "Alice" has created folder "folder/sub-folder"
|
||||
And user "Alice" has uploaded file with content "some data" to "/folder/sub-folder/test.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | folder |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
@@ -211,7 +211,7 @@ Feature: copying file using file id
|
||||
Scenario Outline: copy a file from personal to share space
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has created folder "/folder"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | folder |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
@@ -238,7 +238,7 @@ Feature: copying file using file id
|
||||
And user "Alice" has created folder "/folder"
|
||||
And user "Alice" has uploaded file with content "some data" to "/folder/test.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | folder |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
|
||||
@@ -17,7 +17,7 @@ Feature: checking file versions using file id
|
||||
|
||||
|
||||
Scenario Outline: check the file versions of a file shared from project space
|
||||
Given user "Alice" has sent the following share invitation:
|
||||
Given user "Alice" has sent the following resource share invitation:
|
||||
| resource | text.txt |
|
||||
| space | Project1 |
|
||||
| sharee | Brian |
|
||||
@@ -34,7 +34,7 @@ Feature: checking file versions using file id
|
||||
| Viewer |
|
||||
|
||||
Scenario Outline: check the versions of a file in a shared space as editor/manager
|
||||
Given user "Alice" has sent the following share invitation:
|
||||
Given user "Alice" has sent the following space share invitation:
|
||||
| space | Project1 |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
@@ -52,7 +52,7 @@ Feature: checking file versions using file id
|
||||
|
||||
|
||||
Scenario: check the versions of a file in a shared space as viewer
|
||||
Given user "Alice" has sent the following share invitation:
|
||||
Given user "Alice" has sent the following space share invitation:
|
||||
| space | Project1 |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
@@ -63,7 +63,7 @@ Feature: checking file versions using file id
|
||||
@issue-7738
|
||||
Scenario Outline: check the versions of a file after moving to a shared folder inside a project space as editor/viewer
|
||||
Given user "Alice" has created a folder "testFolder" in space "Project1"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | text.txt |
|
||||
| space | Project1 |
|
||||
| sharee | Brian |
|
||||
@@ -83,13 +83,13 @@ Feature: checking file versions using file id
|
||||
@issue-7738
|
||||
Scenario: check the versions of a file after moving it to a shared folder inside a project space as manager
|
||||
Given user "Alice" has created a folder "testFolder" in space "Project1"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | testFolder |
|
||||
| space | Project1 |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following space share invitation:
|
||||
| space | Project1 |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
|
||||
@@ -51,7 +51,7 @@ Feature: accessing files using file id
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has uploaded file with content "some data" to "/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
@@ -71,7 +71,7 @@ Feature: accessing files using file id
|
||||
And user "Alice" has created folder "uploadFolder"
|
||||
And user "Alice" has uploaded file with content "some data" to "uploadFolder/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | uploadFolder |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
@@ -92,7 +92,7 @@ Feature: accessing files using file id
|
||||
And user "Alice" has created a space "new-space" with the default quota using the Graph API
|
||||
And user "Alice" has uploaded a file inside space "new-space" with content "some data" to "textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following space share invitation:
|
||||
| space | new-space |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
@@ -123,7 +123,7 @@ Feature: accessing files using file id
|
||||
And user "Brian" has disabled the auto-sync share
|
||||
And user "Alice" has uploaded file with content "some data" to "/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
@@ -144,7 +144,7 @@ Feature: accessing files using file id
|
||||
And user "Alice" has created folder "uploadFolder"
|
||||
And user "Alice" has uploaded file with content "some data" to "uploadFolder/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | uploadFolder |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
@@ -167,7 +167,7 @@ Feature: accessing files using file id
|
||||
And the administrator has assigned the role "Admin" to user "Alice" using the Graph API
|
||||
And user "Alice" has created a group "grp1" using the Graph API
|
||||
And user "Brian" has been added to group "grp1"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
| space | Personal |
|
||||
| sharee | grp1 |
|
||||
@@ -191,7 +191,7 @@ Feature: accessing files using file id
|
||||
And the administrator has assigned the role "Admin" to user "Alice" using the Graph API
|
||||
And user "Alice" has created a group "grp1" using the Graph API
|
||||
And user "Brian" has been added to group "grp1"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | uploadFolder |
|
||||
| space | Personal |
|
||||
| sharee | grp1 |
|
||||
@@ -214,7 +214,7 @@ Feature: accessing files using file id
|
||||
And user "Brian" has disabled the auto-sync share
|
||||
And user "Alice" has uploaded a file inside space "new-space" with content "some content" to "textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
| space | new-space |
|
||||
| sharee | Brian |
|
||||
@@ -238,7 +238,7 @@ Feature: accessing files using file id
|
||||
And user "Alice" has created a folder "uploadFolder" in space "new-space"
|
||||
And user "Alice" has uploaded a file inside space "new-space" with content "some content" to "uploadFolder/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | uploadFolder |
|
||||
| space | new-space |
|
||||
| sharee | Brian |
|
||||
@@ -263,7 +263,7 @@ Feature: accessing files using file id
|
||||
And we save it into "FILEID"
|
||||
And user "Admin" has created a group "grp1" using the Graph API
|
||||
And user "Brian" has been added to group "grp1"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
| space | new-space |
|
||||
| sharee | grp1 |
|
||||
@@ -289,7 +289,7 @@ Feature: accessing files using file id
|
||||
And we save it into "FILEID"
|
||||
And user "Admin" has created a group "grp1" using the Graph API
|
||||
And user "Brian" has been added to group "grp1"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | uploadFolder |
|
||||
| space | new-space |
|
||||
| sharee | grp1 |
|
||||
|
||||
@@ -104,7 +104,7 @@ Feature: propfind a file using file id
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has uploaded file with content "some data" to "/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
@@ -125,7 +125,7 @@ Feature: propfind a file using file id
|
||||
Scenario Outline: sharee sends a PROPFIND request to a file inside of a shared folder
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has created folder "/folder"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | folder |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
|
||||
@@ -51,7 +51,7 @@ Feature: update files using file id
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has uploaded file with content "some data" to "/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
@@ -72,7 +72,7 @@ Feature: update files using file id
|
||||
And user "Alice" has created folder "uploadFolder"
|
||||
And user "Alice" has uploaded file with content "some data" to "uploadFolder/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | uploadFolder |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
@@ -94,7 +94,7 @@ Feature: update files using file id
|
||||
And user "Alice" has created a space "new-space" with the default quota using the Graph API
|
||||
And user "Alice" has uploaded a file inside space "new-space" with content "some data" to "/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following share invitation:
|
||||
And user "Alice" has sent the following space share invitation:
|
||||
| space | new-space |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
|
||||
Reference in New Issue
Block a user