diff options
Diffstat (limited to 'tests/acceptance/features')
-rw-r--r-- | tests/acceptance/features/app-files-sharing-link.feature | 50 | ||||
-rw-r--r-- | tests/acceptance/features/app-files-sharing.feature | 39 |
2 files changed, 46 insertions, 43 deletions
diff --git a/tests/acceptance/features/app-files-sharing-link.feature b/tests/acceptance/features/app-files-sharing-link.feature index 4fab8391531..6f38d526590 100644 --- a/tests/acceptance/features/app-files-sharing-link.feature +++ b/tests/acceptance/features/app-files-sharing-link.feature @@ -11,31 +11,33 @@ Feature: app-files-sharing-link And I open the Share menu Then I see that the Share menu is shown - Scenario: hide download in a public shared link - Given I act as John - And I am logged in - And I share the link for "welcome.txt" - And I set the download of the shared link as hidden - And I write down the shared link - When I act as Jane - And I visit the shared link I wrote down - And I see that the current page is the shared link I wrote down - Then I see that the download button is not shown - And I see that the Share menu button is not shown +# TODO: disabled unreliable test +# Scenario: hide download in a public shared link +# Given I act as John +# And I am logged in +# And I share the link for "welcome.txt" +# And I set the download of the shared link as hidden +# And I write down the shared link +# When I act as Jane +# And I visit the shared link I wrote down +# And I see that the current page is the shared link I wrote down +# Then I see that the download button is not shown +# And I see that the Share menu button is not shown - Scenario: show download again in a public shared link - Given I act as John - And I am logged in - And I share the link for "welcome.txt" - And I set the download of the shared link as hidden - And I set the download of the shared link as shown - And I write down the shared link - When I act as Jane - And I visit the shared link I wrote down - And I see that the current page is the shared link I wrote down - Then I see that the download button is shown - And I open the Share menu - And I see that the Share menu is shown +# TODO: disabled unreliable test +# Scenario: show download again in a public shared link +# Given I act as John +# And I am logged in +# And I share the link for "welcome.txt" +# And I set the download of the shared link as hidden +# And I set the download of the shared link as shown +# And I write down the shared link +# When I act as Jane +# And I visit the shared link I wrote down +# And I see that the current page is the shared link I wrote down +# Then I see that the download button is shown +# And I open the Share menu +# And I see that the Share menu is shown Scenario: open a subfolder in a public shared folder Given I act as John diff --git a/tests/acceptance/features/app-files-sharing.feature b/tests/acceptance/features/app-files-sharing.feature index cbb8aae33e7..6dabe09cfa6 100644 --- a/tests/acceptance/features/app-files-sharing.feature +++ b/tests/acceptance/features/app-files-sharing.feature @@ -419,25 +419,26 @@ Feature: app-files-sharing And I see that "user1" can not edit the share And I see that "user1" can not be allowed to edit the share - Scenario: sharee can not reshare a folder with create permission if the sharer disables it - Given I act as John - And I am logged in as the admin - And I act as Jane - And I am logged in - And I act as John - And I create a new folder named "Shared folder" - And I see that the file list contains a file named "Shared folder" - And I share "Shared folder" with "user0" - And I see that the file is shared with "user0" - And I set the share with "user0" as not creatable - And I see that "user0" can not create in the share - When I act as Jane - # The Files app is open again to reload the file list - And I open the Files app - And I share "Shared folder" with "user1" - Then I see that the file is shared with "user1" - And I see that "user1" can not create in the share - And I see that "user1" can not be allowed to create in the share +# TODO: disabled unreliable test +# Scenario: sharee can not reshare a folder with create permission if the sharer disables it +# Given I act as John +# And I am logged in as the admin +# And I act as Jane +# And I am logged in +# And I act as John +# And I create a new folder named "Shared folder" +# And I see that the file list contains a file named "Shared folder" +# And I share "Shared folder" with "user0" +# And I see that the file is shared with "user0" +# And I set the share with "user0" as not creatable +# And I see that "user0" can not create in the share +# When I act as Jane +# # The Files app is open again to reload the file list +# And I open the Files app +# And I share "Shared folder" with "user1" +# Then I see that the file is shared with "user1" +# And I see that "user1" can not create in the share +# And I see that "user1" can not be allowed to create in the share # TODO: disabled unreliable test # Scenario: sharee can revoke create permission from reshare after the sharer disabled it |