Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests-only] [full-ci] Add examples of more username combinations #6279

Merged
merged 1 commit into from
May 11, 2023
Merged
Show file tree
Hide file tree
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 @@ -23,8 +23,8 @@ The expected failures in this file are from features in the owncloud/ocis repo.
- [apiGraph/createGroupCaseSensitive.feature:24](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/createGroupCaseSensitive.feature#L24)
- [apiGraph/createGroupCaseSensitive.feature:25](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/createGroupCaseSensitive.feature#L25)
- [apiGraph/createGroup.feature:28](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/createGroup.feature#L28)
- [apiGraph/createUser.feature:37](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/createUser.feature#L37)
- [apiGraph/createUser.feature:68](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/createUser.feature#L68)
- [apiGraph/createUser.feature:41](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/createUser.feature#L41)
- [apiGraph/createUser.feature:72](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/createUser.feature#L72)

### [PROPFIND on accepted shares with identical names containing brackets exit with 404](https://github.com/owncloud/ocis/issues/4421)
- [apiSpacesShares/changingFilesShare.feature:15](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesShares/changingFilesShare.feature#L15)
Expand Down
20 changes: 12 additions & 8 deletions tests/acceptance/features/apiGraph/createUser.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api
@api
Feature: create user
As a admin
I want to create a user
Expand All @@ -22,13 +22,17 @@ Feature: create user
Then the HTTP status code should be "<code>"
And user "<userName>" <shouldOrNot> exist
Examples:
| userName | displayName | email | password | code | enable | shouldOrNot |
| SameDisplayName | Alice Hansen | [email protected] | containsCharacters(*:!;_+-&) | 200 | true | should |
| withoutPassSameEmail | without pass | [email protected] | | 200 | true | should |
| name | pass with space | [email protected] | my pass | 200 | true | should |
| nameWithCharacters(*:!;_+-&) | user | [email protected] | 123 | 400 | true | should not |
| name with space | name with space | [email protected] | 123 | 400 | true | should not |
| createDisabledUser | disabled user | [email protected] | 123 | 200 | false | should |
| userName | displayName | email | password | code | enable | shouldOrNot |
| SameDisplayName | Alice Hansen | [email protected] | containsCharacters(*:!;_+-&) | 200 | true | should |
| withoutPassSameEmail | without pass | [email protected] | | 200 | true | should |
| name | pass with space | [email protected] | my pass | 200 | true | should |
| nameWithCharacters(*:!;_+-&) | user | [email protected] | 123 | 400 | true | should not |
| name with space | name with space | [email protected] | 123 | 400 | true | should not |
| createDisabledUser | disabled user | [email protected] | 123 | 200 | false | should |
| nameWithNumbers0123456 | user | [email protected] | 123 | 200 | true | should |
| name.with.dots | user | [email protected] | 123 | 200 | true | should |
| 123456789 | user | [email protected] | 123 | 400 | true | should not |
| 0.0 | user | [email protected] | 123 | 400 | true | should not |

@skipOnStable2.0
Examples:
Expand Down