X Tutup
Skip to content

Commit e7883a8

Browse files
phil-daviskarakayasemi
authored andcommitted
Add acceptance tests for sharing with unusual usernames
1 parent 91da32d commit e7883a8

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

tests/acceptance/features/webUISharingInternalUsers1/createShareWithUsers.feature

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,25 @@ Feature: Sharing files and folders with internal users
5656
And file "lorem.txt" should not be listed in shared-with-others page on the webUI
5757
And as "user2" file "lorem (2).txt" should not exist
5858

59-
Scenario: user shares a file with another user with uppercase username
59+
Scenario Outline: user shares a file with another user with unusual usernames
6060
Given user "user1" has been created with default attributes and skeleton files
6161
And these users have been created without skeleton files:
62-
| username |
63-
| SomeUser |
62+
| username |
63+
| <username> |
6464
And user "user1" has logged in using the webUI
65-
When the user shares file "lorem.txt" with user "SomeUser" using the webUI
66-
And the user re-logs in as "SomeUser" using the webUI
65+
When the user shares file "lorem.txt" with user "<username>" using the webUI
66+
And the user re-logs in as "<username>" using the webUI
6767
And the user browses to the shared-with-you page
6868
Then file "lorem.txt" should be listed on the webUI
69+
Examples:
70+
| username |
71+
| 123456 |
72+
| -12 |
73+
| +12 |
74+
| 1.2 |
75+
| 1.2E3 |
76+
| 0x10 |
77+
| Some-User |
6978

7079
Scenario: multiple users share a file with the same name to a user
7180
Given these users have been created with default attributes and without skeleton files:

0 commit comments

Comments
 (0)
X Tutup