Skip to content
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
2 changes: 1 addition & 1 deletion tests/ui/features/other/users.feature
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Feature: users
Scenario Outline: change quota to an invalid value
When quota of user "%regularuser%" is changed to "<wished_quota>"
Then a notification should be displayed with the text 'Invalid quota value "<wished_quota>"'
Then quota of user "%regularuser%" should be set to "Default"
And quota of user "%regularuser%" should be set to "Default"

Examples:
|wished_quota|
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/features/sharing/shareByPublicLink.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ So that the user is forced to obey the policies of the server operator
And I login with username "user1" and password "1234"

Scenario: simple sharing by public link
And I create a new public link for the folder "simple-folder"
When I create a new public link for the folder "simple-folder"
And I access the last created public link
Then the file "lorem.txt" should be listed

Scenario: creating a public link with read & write permissions makes it possible to delete files via the link
And I create a new public link for the folder "simple-folder" with
When I create a new public link for the folder "simple-folder" with
| permission | Read & Write |
And I access the last created public link
And I delete the elements
Expand All @@ -35,7 +35,7 @@ So that the user is forced to obey the policies of the server operator
And the deleted elements should not be listed after a page reload

Scenario: creating a public link with read permissions only makes it impossible to delete files via the link
And I create a new public link for the folder "simple-folder" with
When I create a new public link for the folder "simple-folder" with
| permission | Read |
And I access the last created public link
Then it should not be possible to delete the file "lorem.txt"
14 changes: 7 additions & 7 deletions tests/ui/features/sharing/shareeAutocompletion.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,46 +11,46 @@ Feature: Sharee - autocompletion

Scenario: autocompletion of regular existing users
And the share dialog for the folder "simple-folder" is open
And I type "user" in the share-with-field
When I type "user" in the share-with-field
Then all users and groups that contain the string "user" in their name should be listed in the autocomplete list
And my own name should not be listed in the autocomplete list

Scenario: autocompletion of regular existing groups
And the share dialog for the folder "simple-folder" is open
And I type "grp" in the share-with-field
When I type "grp" in the share-with-field
Then all users and groups that contain the string "grp" in their name should be listed in the autocomplete list
And my own name should not be listed in the autocomplete list

Scenario: autocompletion for a pattern that does not match any user or group
And the share dialog for the folder "simple-folder" is open
And I type "doesnotexist" in the share-with-field
When I type "doesnotexist" in the share-with-field
Then a tooltip with the text "No users or groups found for doesnotexist" should be shown near the share-with-field
And the autocomplete list should not be displayed

Scenario: autocompletion of a pattern that matches regular existing users but also a user with whom the item is already shared (folder)
And the folder "simple-folder" is shared with the user "user1"
And the share dialog for the folder "simple-folder" is open
And I type "user" in the share-with-field
When I type "user" in the share-with-field
Then all users and groups that contain the string "user" in their name should be listed in the autocomplete list except user "user1"
And my own name should not be listed in the autocomplete list

Scenario: autocompletion of a pattern that matches regular existing users but also a user whith whom the item is already shared (file)
And the file "data.zip" is shared with the user "usergrp"
And the share dialog for the file "data.zip" is open
And I type "user" in the share-with-field
When I type "user" in the share-with-field
Then all users and groups that contain the string "user" in their name should be listed in the autocomplete list except user "usergrp"
And my own name should not be listed in the autocomplete list

Scenario: autocompletion of a pattern that matches regular existing groups but also a group with whom the item is already shared (folder)
And the folder "simple-folder" is shared with the group "grp1"
And the share dialog for the folder "simple-folder" is open
And I type "grp" in the share-with-field
When I type "grp" in the share-with-field
Then all users and groups that contain the string "grp" in their name should be listed in the autocomplete list except group "grp1"
And my own name should not be listed in the autocomplete list

Scenario: autocompletion of a pattern that matches regular existing groups but also a group whith whom the item is already shared (file)
And the file "data.zip" is shared with the group "grpuser"
And the share dialog for the file "data.zip" is open
And I type "grp" in the share-with-field
When I type "grp" in the share-with-field
Then all users and groups that contain the string "grp" in their name should be listed in the autocomplete list except group "grpuser"
And my own name should not be listed in the autocomplete list
4 changes: 2 additions & 2 deletions tests/ui/features/sharing/sharing.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Feature: Sharing
And I login with username "user2" and password "1234"

Scenario: share a file & folder with another internal user
And the folder "simple-folder" is shared with the user "User One"
When the folder "simple-folder" is shared with the user "User One"
And the file "testimage.jpg" is shared with the user "User One"
And I logout
And I login with username "user1" and password "1234"
Expand All @@ -33,7 +33,7 @@ Feature: Sharing
Scenario: share a folder with an internal group
And I logout
And I login with username "user3" and password "1234"
And the folder "simple-folder" is shared with the group "grp1"
When the folder "simple-folder" is shared with the group "grp1"
And the file "testimage.jpg" is shared with the group "grp1"
And I logout
And I login with username "user1" and password "1234"
Expand Down