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
diff options
context:
space:
mode:
authorArtur Neumann <artur@jankaritech.com>2021-03-15 14:02:36 +0300
committerHannah von Reth <vonreth@kde.org>2021-03-16 11:50:37 +0300
commitca14e6f337dc97c5d2339a545f8b95a156f2ed54 (patch)
treec8fcf4e17a17f5416cba2316ac4cbb8fe1a65da6 /test/gui/tst_sharing/test.feature
parent4930994c79b1816dc1426d5f5a0b64c033b09d86 (diff)
rename folder of GUI tests
Diffstat (limited to 'test/gui/tst_sharing/test.feature')
-rw-r--r--test/gui/tst_sharing/test.feature25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/gui/tst_sharing/test.feature b/test/gui/tst_sharing/test.feature
new file mode 100644
index 000000000..afb76443d
--- /dev/null
+++ b/test/gui/tst_sharing/test.feature
@@ -0,0 +1,25 @@
+Feature: Sharing
+
+ Scenario: simple sharing
+ Given user "Alice" has been created on the server with default attributes
+ And user "Brian" has been created on the server with default attributes
+ And user "Alice" has set up a client with these settings and password "1234":
+ """
+ [Accounts]
+ 0\Folders\1\ignoreHiddenFiles=true
+ 0\Folders\1\localPath=%client_sync_path%
+ 0\Folders\1\paused=false
+ 0\Folders\1\targetPath=/
+ 0\Folders\1\version=2
+ 0\Folders\1\virtualFilesMode=off
+ 0\dav_user=alice
+ 0\display-name=Alice
+ 0\http_oauth=false
+ 0\http_user=alice
+ 0\url=%local_server%
+ 0\user=Alice
+ 0\version=1
+ version=2
+ """
+ When the user adds "Brian Murphy" as collaborator of resource "%client_sync_path%/textfile0.txt" with permissions "edit,share" using the client-UI
+ Then user "Brian Murphy" should be listed in the collaborators list for file "%client_sync_path%/textfile0.txt" with permissions "edit,share" on the client-UI