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:
authorSwikriti Tripathi <41103328+SwikritiT@users.noreply.github.com>2021-03-19 09:52:42 +0300
committerGitHub <noreply@github.com>2021-03-19 09:52:42 +0300
commitbd3ddd9a6888bd0eb4f373dfa046aa11605cb797 (patch)
treebc9dea3bb29a81b645f5288335fbfbed13da5927 /test/gui/tst_sharing/test.feature
parent7981b6db1326baf5a69eb9ca6a06740f194a249e (diff)
Adds tests for selecting and unselecting password protection checkbox (#8496)
Diffstat (limited to 'test/gui/tst_sharing/test.feature')
-rw-r--r--test/gui/tst_sharing/test.feature30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/gui/tst_sharing/test.feature b/test/gui/tst_sharing/test.feature
index afb76443d..f8a2de350 100644
--- a/test/gui/tst_sharing/test.feature
+++ b/test/gui/tst_sharing/test.feature
@@ -1,5 +1,9 @@
Feature: Sharing
+ As a user
+ I want to share files and folders with other users
+ So that those users can access the files and folders
+
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
@@ -23,3 +27,29 @@ Feature: Sharing
"""
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
+
+ @issue-7459
+ Scenario: Progress indicator should not be visible after unselecting the password protection checkbox while sharing through public link
+ Given user "Alice" 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 opens the public links dialog of "%client_sync_path%/textfile0.txt" using the client-UI
+ And the user toggles the password protection using the client-UI
+ And the user toggles the password protection using the client-UI
+ Then the progress indicator should not be visible in the client-UI