Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
dff9853d
Unverified
Commit
dff9853d
authored
4 years ago
by
Morris Jobke
Browse files
Options
Downloads
Patches
Plain Diff
Disable unreliable app-files-sharing.feature:108
Signed-off-by:
Morris Jobke
<
hey@morrisjobke.de
>
parent
8676882b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/acceptance/features/app-files-sharing.feature
+43
-42
43 additions, 42 deletions
tests/acceptance/features/app-files-sharing.feature
with
43 additions
and
42 deletions
tests/acceptance/features/app-files-sharing.feature
+
43
−
42
View file @
dff9853d
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment