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:
authorswoichha <swoichhaa@gmail.com>2021-04-15 11:42:48 +0300
committerArtur Neumann <artur@jankaritech.com>2021-04-15 14:23:09 +0300
commit850aa0486c34f1b96fb9e73b257e14f80a936a00 (patch)
tree53dd49233f64ae18f27de043c395adb8238ea186 /test/gui/tst_sharing/test.feature
parent089c037a2f7a19c0a01ab0e58aa26bfeb0fa85f9 (diff)
rebase and refactor new tests
Diffstat (limited to 'test/gui/tst_sharing/test.feature')
-rw-r--r--test/gui/tst_sharing/test.feature38
1 files changed, 2 insertions, 36 deletions
diff --git a/test/gui/tst_sharing/test.feature b/test/gui/tst_sharing/test.feature
index 813fe8385..7dfef9445 100644
--- a/test/gui/tst_sharing/test.feature
+++ b/test/gui/tst_sharing/test.feature
@@ -68,24 +68,7 @@ Feature: Sharing
Scenario: simple sharing of a folder by public link without password
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
- """
+ And user "Alice" has set up a client with default settings and password "1234"
When the user creates a new public link with permissions "Download / View" for folder "%client_sync_path%/simple-folder" without password using the client-UI
Then as user "Alice" the folder "simple-folder" should have a public link on the server
And the public should be able to download the folder "lorem.txt" without password from the last created public link by "Alice" on the server
@@ -93,24 +76,7 @@ Feature: Sharing
Scenario: simple sharing of a folder by public link with password
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
- """
+ And user "Alice" has set up a client with default settings and password "1234"
When the user creates a new public link with permissions "Download / View " for folder "%client_sync_path%/simple-folder" with password "pass123" using the client-UI
Then as user "Alice" the folder "simple-folder" should have a public link on the server
And the public should be able to download the folder "lorem.txt" with password "pass123" from the last created public link by "Alice" on the server