diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-10-22 13:19:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 13:19:39 +0300 |
commit | a7470576cfbc36da3230d6038a632e19db8669de (patch) | |
tree | fc37973a9c1fdf50420320e72faa8339f49b5d83 /tests/acceptance/features | |
parent | 19950cb23cd7f6a38b5074725b0b53c9e2c3ca86 (diff) | |
parent | dff9853d3697cf17d74fc815c43cd72c9d985b0a (diff) |
Merge pull request #23614 from nextcloud/tests/22305/unreliable-app-files-sharing-338
Disable unreliable app-files-sharing.feature:108
Diffstat (limited to 'tests/acceptance/features')
-rw-r--r-- | tests/acceptance/features/app-files-sharing.feature | 85 |
1 files changed, 43 insertions, 42 deletions
diff --git a/tests/acceptance/features/app-files-sharing.feature b/tests/acceptance/features/app-files-sharing.feature index e0701efd9f2..b6cde94455c 100644 --- a/tests/acceptance/features/app-files-sharing.feature +++ b/tests/acceptance/features/app-files-sharing.feature @@ -335,45 +335,46 @@ Feature: app-files-sharing 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 - Scenario: sharee can revoke create permission from reshare after the sharer disabled 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 Jim - And I am logged in as "user1" - 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 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" - And I see that the file is shared with "user1" - And I act as John - And I set the share with "user0" as not creatable - And I see that "user0" can not create in the share - And I act as Jim - # The Files app is open again to reload the file list - And I open the Files app - And I enter in the folder named "Shared folder" - # Creation is still allowed in already created reshares - And I create a new folder named "Subfolder" - And I see that the file list contains a file named "Subfolder" - When I act as Jane - # The Files app is open again to reload the file list - And I open the Files app - And I open the details view for "Shared folder" - And I see that the details view is open - And I open the "Sharing" tab in the details view - And I see that the "Sharing" tab in the details view is eventually loaded - And I set the share with "user1" as not creatable - Then I see that "user1" can not create in the share - And I see that "user1" can not be allowed to create in the share - And I act as Jim - # The Files app is open again to reload the file list - And I open the Files app - And I enter in the folder named "Shared folder" - And I see that it is not possible to create new files +# TODO: disabled unreliable test +# Scenario: sharee can revoke create permission from reshare after the sharer disabled 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 Jim +# And I am logged in as "user1" +# 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 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" +# And I see that the file is shared with "user1" +# And I act as John +# And I set the share with "user0" as not creatable +# And I see that "user0" can not create in the share +# And I act as Jim +# # The Files app is open again to reload the file list +# And I open the Files app +# And I enter in the folder named "Shared folder" +# # Creation is still allowed in already created reshares +# And I create a new folder named "Subfolder" +# And I see that the file list contains a file named "Subfolder" +# When I act as Jane +# # The Files app is open again to reload the file list +# And I open the Files app +# And I open the details view for "Shared folder" +# And I see that the details view is open +# And I open the "Sharing" tab in the details view +# And I see that the "Sharing" tab in the details view is eventually loaded +# And I set the share with "user1" as not creatable +# Then I see that "user1" can not create in the share +# And I see that "user1" can not be allowed to create in the share +# And I act as Jim +# # The Files app is open again to reload the file list +# And I open the Files app +# And I enter in the folder named "Shared folder" +# And I see that it is not possible to create new files |