Skip to content
Snippets Groups Projects
Unverified Commit dff9853d authored by Morris Jobke's avatar Morris Jobke
Browse files

Disable unreliable app-files-sharing.feature:108


Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 8676882b
No related branches found
No related tags found
No related merge requests found
...@@ -335,45 +335,46 @@ Feature: app-files-sharing ...@@ -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 create in the share
And I see that "user1" can not be allowed to 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 # TODO: disabled unreliable test
Given I act as John # Scenario: sharee can revoke create permission from reshare after the sharer disabled it
And I am logged in as the admin # Given I act as John
And I act as Jane # And I am logged in as the admin
And I am logged in # And I act as Jane
And I act as Jim # And I am logged in
And I am logged in as "user1" # And I act as Jim
And I act as John # And I am logged in as "user1"
And I create a new folder named "Shared folder" # And I act as John
And I see that the file list contains a file named "Shared folder" # And I create a new folder named "Shared folder"
And I share "Shared folder" with "user0" # And I see that the file list contains a file named "Shared folder"
And I see that the file is shared with "user0" # And I share "Shared folder" with "user0"
And I act as Jane # And I see that the file is shared with "user0"
# The Files app is open again to reload the file list # And I act as Jane
And I open the Files app # # The Files app is open again to reload the file list
And I share "Shared folder" with "user1" # And I open the Files app
And I see that the file is shared with "user1" # And I share "Shared folder" with "user1"
And I act as John # And I see that the file is shared with "user1"
And I set the share with "user0" as not creatable # And I act as John
And I see that "user0" can not create in the share # And I set the share with "user0" as not creatable
And I act as Jim # And I see that "user0" can not create in the share
# The Files app is open again to reload the file list # And I act as Jim
And I open the Files app # # The Files app is open again to reload the file list
And I enter in the folder named "Shared folder" # And I open the Files app
# Creation is still allowed in already created reshares # And I enter in the folder named "Shared folder"
And I create a new folder named "Subfolder" # # Creation is still allowed in already created reshares
And I see that the file list contains a file named "Subfolder" # And I create a new folder named "Subfolder"
When I act as Jane # And I see that the file list contains a file named "Subfolder"
# The Files app is open again to reload the file list # When I act as Jane
And I open the Files app # # The Files app is open again to reload the file list
And I open the details view for "Shared folder" # And I open the Files app
And I see that the details view is open # And I open the details view for "Shared folder"
And I open the "Sharing" tab in the details view # And I see that the details view is open
And I see that the "Sharing" tab in the details view is eventually loaded # And I open the "Sharing" tab in the details view
And I set the share with "user1" as not creatable # And I see that the "Sharing" tab in the details view is eventually loaded
Then I see that "user1" can not create in the share # And I set the share with "user1" as not creatable
And I see that "user1" can not be allowed to create in the share # Then I see that "user1" can not create in the share
And I act as Jim # And I see that "user1" can not be allowed to create in the share
# The Files app is open again to reload the file list # And I act as Jim
And I open the Files app # # The Files app is open again to reload the file list
And I enter in the folder named "Shared folder" # And I open the Files app
And I see that it is not possible to create new files # And I enter in the folder named "Shared folder"
# And I see that it is not possible to create new files
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment