Skip to content

Commit 0f05829

Browse files
authored
Merge pull request #23624 from nextcloud/backport/23614/stable19
[stable19] Disable unreliable app-files-sharing.feature:338
2 parents 4576158 + b09bb61 commit 0f05829

File tree

1 file changed

+43
-42
lines changed

1 file changed

+43
-42
lines changed

tests/acceptance/features/app-files-sharing.feature

Lines changed: 43 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -335,45 +335,46 @@ Feature: app-files-sharing
335335
And I see that "user1" can not create in the share
336336
And I see that "user1" can not be allowed to create in the share
337337

338-
Scenario: sharee can revoke create permission from reshare after the sharer disabled it
339-
Given I act as John
340-
And I am logged in as the admin
341-
And I act as Jane
342-
And I am logged in
343-
And I act as Jim
344-
And I am logged in as "user1"
345-
And I act as John
346-
And I create a new folder named "Shared folder"
347-
And I see that the file list contains a file named "Shared folder"
348-
And I share "Shared folder" with "user0"
349-
And I see that the file is shared with "user0"
350-
And I act as Jane
351-
# The Files app is open again to reload the file list
352-
And I open the Files app
353-
And I share "Shared folder" with "user1"
354-
And I see that the file is shared with "user1"
355-
And I act as John
356-
And I set the share with "user0" as not creatable
357-
And I see that "user0" can not create in the share
358-
And I act as Jim
359-
# The Files app is open again to reload the file list
360-
And I open the Files app
361-
And I enter in the folder named "Shared folder"
362-
# Creation is still allowed in already created reshares
363-
And I create a new folder named "Subfolder"
364-
And I see that the file list contains a file named "Subfolder"
365-
When I act as Jane
366-
# The Files app is open again to reload the file list
367-
And I open the Files app
368-
And I open the details view for "Shared folder"
369-
And I see that the details view is open
370-
And I open the "Sharing" tab in the details view
371-
And I see that the "Sharing" tab in the details view is eventually loaded
372-
And I set the share with "user1" as not creatable
373-
Then I see that "user1" can not create in the share
374-
And I see that "user1" can not be allowed to create in the share
375-
And I act as Jim
376-
# The Files app is open again to reload the file list
377-
And I open the Files app
378-
And I enter in the folder named "Shared folder"
379-
And I see that it is not possible to create new files
338+
# TODO: disabled unreliable test
339+
# Scenario: sharee can revoke create permission from reshare after the sharer disabled it
340+
# Given I act as John
341+
# And I am logged in as the admin
342+
# And I act as Jane
343+
# And I am logged in
344+
# And I act as Jim
345+
# And I am logged in as "user1"
346+
# And I act as John
347+
# And I create a new folder named "Shared folder"
348+
# And I see that the file list contains a file named "Shared folder"
349+
# And I share "Shared folder" with "user0"
350+
# And I see that the file is shared with "user0"
351+
# And I act as Jane
352+
# # The Files app is open again to reload the file list
353+
# And I open the Files app
354+
# And I share "Shared folder" with "user1"
355+
# And I see that the file is shared with "user1"
356+
# And I act as John
357+
# And I set the share with "user0" as not creatable
358+
# And I see that "user0" can not create in the share
359+
# And I act as Jim
360+
# # The Files app is open again to reload the file list
361+
# And I open the Files app
362+
# And I enter in the folder named "Shared folder"
363+
# # Creation is still allowed in already created reshares
364+
# And I create a new folder named "Subfolder"
365+
# And I see that the file list contains a file named "Subfolder"
366+
# When I act as Jane
367+
# # The Files app is open again to reload the file list
368+
# And I open the Files app
369+
# And I open the details view for "Shared folder"
370+
# And I see that the details view is open
371+
# And I open the "Sharing" tab in the details view
372+
# And I see that the "Sharing" tab in the details view is eventually loaded
373+
# And I set the share with "user1" as not creatable
374+
# Then I see that "user1" can not create in the share
375+
# And I see that "user1" can not be allowed to create in the share
376+
# And I act as Jim
377+
# # The Files app is open again to reload the file list
378+
# And I open the Files app
379+
# And I enter in the folder named "Shared folder"
380+
# And I see that it is not possible to create new files

0 commit comments

Comments
 (0)