diff options
author | Swoichha Adhikari <swoichhaa@gmail.com> | 2021-12-13 13:14:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 13:14:32 +0300 |
commit | f100deb90127fa169b5d25e380569dadbf6fdf07 (patch) | |
tree | 80e3b71134da3e2f6c37a720745dc813039abebf /test/gui/tst_sharing/test.feature | |
parent | bad73476715612cf316aeab5d3d7f955270677f5 (diff) |
[tests-only]add test for sharing file to multiple users (#9188)
Diffstat (limited to 'test/gui/tst_sharing/test.feature')
-rw-r--r-- | test/gui/tst_sharing/test.feature | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/gui/tst_sharing/test.feature b/test/gui/tst_sharing/test.feature index a05d8232b..210eb27d7 100644 --- a/test/gui/tst_sharing/test.feature +++ b/test/gui/tst_sharing/test.feature @@ -107,6 +107,25 @@ Feature: Sharing Then the text "The item is not shared with any users or groups" should be displayed in the sharing dialog And as "Brian" folder "simple-folder" on the server should not exist + + Scenario: share a file with many users + Given user "Brian" has been created on the server with default attributes and without skeleton files + And user "Carol" has been created on the server with default attributes and without skeleton files + And user "David" has been created on the server with default attributes and without skeleton files + And user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt" on the server + And user "Alice" has set up a client with default settings + When the user adds following collaborators of resource "textfile0.txt" using the client-UI + | user | permissions | + | Brian Murphy | edit,share | + | Carol King | edit,share | + | David Lopez | edit,share | + Then the following users should be listed in as collaborators for file "textfile0.txt" on the client-UI + | user | permissions | + | Brian Murphy | edit,share | + | Carol King | edit,share | + | David Lopez | edit,share | + + @issue-7423 Scenario: unshare a reshared file Given the setting "shareapi_auto_accept_share" on the server of app "core" has been set to "no" |