Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests-only] Edit tests related to 'shared with me' #4412

Merged
merged 2 commits into from
Dec 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ Feature: Sharing files with multiple internal users with different permissions
| field | value |
| uid_owner | user1 |
| share_with | user2 |
| file_target | /lorem.txt |
| file_target | /Shares/lorem.txt |
| item_type | file |
| permissions | <actual-permissions> |
And user "user3" should have received a share with these details:
| field | value |
| uid_owner | user1 |
| share_with | user3 |
| file_target | /lorem.txt |
| file_target | /Shares/lorem.txt |
| item_type | file |
| permissions | <actual-permissions> |
But user "Regular User" should not be listed in the collaborators list on the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ Feature: Sharing folders with multiple internal users with different permissions
| field | value |
| uid_owner | user1 |
| share_with | user2 |
| file_target | /simple-folder |
| file_target | /Shares/simple-folder |
| item_type | folder |
| permissions | <actual-permissions> |
And user "user3" should have received a share with these details:
| field | value |
| uid_owner | user1 |
| share_with | user3 |
| file_target | /simple-folder |
| file_target | /Shares/simple-folder |
| item_type | folder |
| permissions | <actual-permissions> |
But user "Regular User" should not be listed in the collaborators list on the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Feature: Sharing files and folders with internal users
| field | value |
| uid_owner | user2 |
| share_with | user1 |
| file_target | /simple-folder |
| file_target | /Shares/simple-folder |
| item_type | folder |
| permissions | <expected-permissions> |
Examples:
Expand Down Expand Up @@ -284,6 +284,7 @@ Feature: Sharing files and folders with internal users
And the user browses to the folder "Shares" on the files page
Then folder "simple-folder" should not be listed on the webUI

@skipOnOCIS @issue-ocis-730
Scenario: deleting multiple entries on the shared-with-me page
Given user "user1" has shared folder "simple-folder" with user "user2"
And user "user2" has accepted the share "simple-folder" offered by user "user1"
Expand Down Expand Up @@ -547,14 +548,14 @@ Feature: Sharing files and folders with internal users
| field | value |
| uid_owner | user2 |
| share_with | user1 |
| file_target | /Sample,Folder,With,Comma |
| file_target | /Shares/Sample,Folder,With,Comma |
| item_type | folder |
| permissions | <permissions-folder> |
And user "user1" should have received a share with these details:
| field | value |
| uid_owner | user2 |
| share_with | user1 |
| file_target | /sample,1.txt |
| file_target | /Shares/sample,1.txt |
| item_type | file |
| permissions | <permissions-file> |
When the user re-logs in as "user1" using the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Feature: Sharing files and folders with internal users with different permission
| field | value |
| uid_owner | user2 |
| share_with | user1 |
| file_target | /simple-folder |
| file_target | /Shares/simple-folder|
| item_type | folder |
| permissions | read, update, create |

Expand Down Expand Up @@ -128,7 +128,7 @@ Feature: Sharing files and folders with internal users with different permission
| field | value |
| uid_owner | user2 |
| share_with | user1 |
| file_target | /simple-folder |
| file_target | /Shares/simple-folder |
| item_type | folder |
| permissions | <permissions> |
Examples:
Expand Down Expand Up @@ -245,7 +245,7 @@ Feature: Sharing files and folders with internal users with different permission
| field | value |
| uid_owner | user2 |
| share_with | user1 |
| file_target | /lorem.txt |
| file_target | /Shares/lorem.txt |
| item_type | file |
| permissions | <permissions> |
Examples:
Expand Down Expand Up @@ -352,6 +352,6 @@ Feature: Sharing files and folders with internal users with different permission
| field | value |
| uid_owner | user1 |
| share_with | user3 |
| file_target | /simple-empty-folder |
| file_target | /Shares/simple-empty-folder |
| item_type | folder |
| permissions | read, delete, create, update |