diff options
author | Swoichha Adhikari <swoichhaa@gmail.com> | 2021-04-16 09:59:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 09:59:47 +0300 |
commit | d994c9db98ab5e136c004faffb342002b2270ac0 (patch) | |
tree | 42eb13a6d340cb03501b6ae7a0baa63c00fdb63d /test/gui/tst_sharing | |
parent | 57e148c544ee50178a9da029f5ebafd320c82c47 (diff) |
[tests-only]public link share for folder expiration date (#8560)
Diffstat (limited to 'test/gui/tst_sharing')
-rw-r--r-- | test/gui/tst_sharing/test.feature | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/gui/tst_sharing/test.feature b/test/gui/tst_sharing/test.feature index d2eecdd9e..cf31667d5 100644 --- a/test/gui/tst_sharing/test.feature +++ b/test/gui/tst_sharing/test.feature @@ -80,3 +80,18 @@ Feature: Sharing 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 + + + Scenario: user changes the expiration date of an already existing public link for folder using client-UI + Given user "Alice" has been created on the server with default attributes + And user "Alice" has set up a client with default settings and password "1234" + And user "Alice" has created a public link on the server with following settings + | path | simple-folder | + | name | Public link | + | expireDate | 2038-10-14 | + | permissions|read, update, create, delete| + When the user opens the public links dialog of "%client_sync_path%/simple-folder" using the client-UI + And the user edits the public link named "Public link" of file "simple-folder" changing following + | expireDate | 2038-07-21 | + Then the fields of the last public link share response of user "Alice" on the server should include + | expireDate | 2038-07-21 |
\ No newline at end of file |