Skip to content

Commit

Permalink
Merge pull request #30012 from owncloud/stable10-prbGname
Browse files Browse the repository at this point in the history
[stable10] UI-tests sharing files and folder using problematic group names
  • Loading branch information
individual-it authored Jan 3, 2018
2 parents 24d2347 + d9cdc33 commit 2e5f7c8
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
@insulated
Feature: Sharing files and folders with internal groups
As a user
I want to share files and folders with groups
So that those groups can access the files and folders

Scenario Outline: sharing files and folder with an internal problematic group name
Given these users exist:
|username|password|displayname|email |
|user1 |1234 |User One |u1@oc.com.np|
|user2 |1234 |User Two |u2@oc.com.np|
|user3 |1234 |User Three |u2@oc.com.np|
And these groups exist:
|groupname|
|<group> |
And the user "user1" is in the group "<group>"
And the user "user2" is in the group "<group>"
And I am on the login page
And I login with username "user3" and password "1234"
When the folder "simple-folder" is shared with the group "<group>"
And the file "testimage.jpg" is shared with the group "<group>"
And I relogin with username "user1" and password "1234"
Then the folder "simple-folder (2)" should be listed
And the folder "simple-folder (2)" should be marked as shared with "<group>" by "User Three"
And the file "testimage (2).jpg" should be listed
And the file "testimage (2).jpg" should be marked as shared with "<group>" by "User Three"
When I relogin with username "user2" and password "1234"
Then the folder "simple-folder (2)" should be listed
And the folder "simple-folder (2)" should be marked as shared with "<group>" by "User Three"
And the file "testimage (2).jpg" should be listed
And the file "testimage (2).jpg" should be marked as shared with "<group>" by "User Three"
Examples:
|group |
|?\?@#%@,;|
|नेपाली |

0 comments on commit 2e5f7c8

Please sign in to comment.