[tests-only] [full-ci] Use sharingNg in coreApiShareOperationsToShares1 (#9162)

* update given step using sharingNg in accessToShare.feature

* update given step using sharingNg in changingFilesShare.feature

* update given step using sharingNg in gettingShares.feature

* update given step using sharingNg in gettingSharesPendingFiltered.feature

* update given step using sharingNg in gettingSharesReceivedFiltered.feature

* update given step using sharingNg in gettingSharesReceivedFilteredEmpty.feature

* update given step using sharingNg in gettingSharesSharedFiltered.feature

* update given step using sharingNg in gettingSharesSharedFilteredEmpty.feature
This commit is contained in:
Salipa Gurung
2024-05-15 15:20:58 +05:45
committed by GitHub
parent 3949dd5385
commit 20eda8b6e2
10 changed files with 360 additions and 112 deletions
@@ -17,8 +17,18 @@ Feature: sharing
And user "Alice" has created folder "share2"
And user "Alice" has uploaded file with content "some data" to "/textfile0.txt"
And user "Alice" has moved file "textfile0.txt" to "share1/textfile0.txt"
And user "Alice" has shared folder "/share1" with user "Brian"
And user "Alice" has shared folder "/share2" with user "Brian"
And user "Alice" has sent the following resource share invitation:
| resource | /share1 |
| space | Personal |
| sharee | Brian |
| shareType | user |
| permissionsRole | Editor |
And user "Alice" has sent the following resource share invitation:
| resource | /share2 |
| space | Personal |
| sharee | Brian |
| shareType | user |
| permissionsRole | Editor |
When user "Brian" moves file "/Shares/share1/textfile0.txt" to "/Shares/share2/textfile0.txt" using the WebDAV API
Then the HTTP status code should be "502"
And as "Brian" file "/Shares/share1/textfile0.txt" should exist
@@ -34,7 +44,12 @@ Feature: sharing
Scenario Outline: overwrite a received file share
Given using <dav-path-version> DAV path
And user "Alice" has uploaded file with content "this is the old content" to "/textfile1.txt"
And user "Alice" has shared file "/textfile1.txt" with user "Brian"
And user "Alice" has sent the following resource share invitation:
| resource | textfile1.txt |
| space | Personal |
| sharee | Brian |
| shareType | user |
| permissionsRole | File Editor |
When user "Brian" uploads file with content "this is a new content" to "/Shares/textfile1.txt" using the WebDAV API
Then the HTTP status code should be "204"
And as "Brian" file "Shares/textfile1.txt" should exist