Skip to content
Merged
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 @@ -591,35 +591,40 @@ Feature: sharing
| 1 | 100 |
| 2 | 200 |

@skipOnEncryption @issue-encryption-126
@skipOnLDAP @skipOnStorage:ceph @issue-QA-623
@issue-35484
Scenario: share with user when username contains capital letters
Given these users have been created without skeleton files:
| username |
| user1 |
When user "user0" shares file "/welcome.txt" with user "USER1" using the sharing API
And user "user0" has uploaded file with content "user0 file" to "/randomfile.txt"
When user "user0" shares file "/randomfile.txt" with user "USER1" using the sharing API
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And the fields of the last response should include
| share_with | USER1 |
| file_target | /welcome.txt |
| path | /welcome.txt |
| permissions | 19 |
| uid_owner | user0 |
And user "user1" should see the following elements
| /welcome.txt |
| share_with | USER1 |
| file_target | /randomfile.txt |
| path | /randomfile.txt |
| permissions | 19 |
| uid_owner | user0 |
#And user "user1" should see the following elements
# | /randomfile.txt |
#And the content of file "randomfile.txt" for user "user1" should be "user0 file"
And user "user1" should not see the following elements
| /randomfile.txt |

Scenario: creating a new share with user of a group when username contains capital letters
Given these users have been created without skeleton files:
| username |
| user1 |
And group "grp1" has been created
And user "USER1" has been added to group "grp1"
And user "user0" has shared file "welcome.txt" with group "grp1"
And user "user0" has uploaded file with content "user0 file" to "/randomfile.txt"
And user "user0" has shared file "randomfile.txt" with group "grp1"
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And user "user1" should see the following elements
| /welcome.txt |
| /randomfile.txt |
And the content of file "randomfile.txt" for user "user1" should be "user0 file"

Scenario Outline: Share of folder to a group with emoji in the name
Given using OCS API version "<ocs_api_version>"
Expand Down