diff --git a/tests/acceptance/features/apiShareManagementBasic/createShare.feature b/tests/acceptance/features/apiShareManagementBasic/createShare.feature index 361070d54473..1307285189aa 100644 --- a/tests/acceptance/features/apiShareManagementBasic/createShare.feature +++ b/tests/acceptance/features/apiShareManagementBasic/createShare.feature @@ -591,23 +591,26 @@ 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: @@ -615,11 +618,13 @@ Feature: sharing | 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 ""