Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSwoichha Adhikari <swoichhaa@gmail.com>2021-12-15 14:23:13 +0300
committerGitHub <noreply@github.com>2021-12-15 14:23:13 +0300
commit6300c004300655c2de18da42766a547137217f8a (patch)
tree7a9cd1c2625928bb4e7c58eb9a743a71013e1cbb /test
parent366b529f143e9dc970d93f7291cacd90d2df1212 (diff)
[tests-only]add tests for sharee editing files/folder (#9282)
Diffstat (limited to 'test')
-rw-r--r--test/gui/tst_sharing/test.feature14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/gui/tst_sharing/test.feature b/test/gui/tst_sharing/test.feature
index 210eb27d7..fd06e258c 100644
--- a/test/gui/tst_sharing/test.feature
+++ b/test/gui/tst_sharing/test.feature
@@ -301,3 +301,17 @@ Feature: Sharing
| edit | read, share | read, share |
| share | read, update, create, delete | read,update |
| edit,share | read | read |
+
+
+ Scenario: sharee deletes a file shared by sharer
+ Given the setting "shareapi_auto_accept_share" on the server of app "core" has been set to "yes"
+ And the administrator on the server has set the default folder for received shares to "Shares"
+ And user "Alice" has uploaded file with content "ownCloud test text file 0" to "textfile.txt" on the server
+ And user "Brian" has been created on the server with default attributes and without skeleton files
+ And user "Alice" has shared file "textfile.txt" on the server with user "Brian" with "all" permissions
+ And user "Brian" has set up a client with default settings
+ When the user waits for file "Shares/textfile.txt" to be synced
+ And the user deletes the file "Shares/textfile.txt"
+ And the user waits for the files to sync
+ Then as "Brian" file "Shares/textfile0.txt" on the server should not exist
+ And as "Alice" file "textfile0.txt" on the server should not exist