-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30012 from owncloud/stable10-prbGname
[stable10] UI-tests sharing files and folder using problematic group names
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
tests/ui/features/sharingInternalGroupsUsers/shareWithGroupsEdgeCases.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | | ||
|?\?@#%@,;| | ||
|नेपाली | | ||
|