-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add acceptance tests for more variety of user Ids #33596
Comments
Related issue that triggered me to write this acceptance test issue: #33594 |
@PVince81 @DeepDiver1975 @patrickjahns any idea if a user ID like |
Added to upcoming sprint just for the purpose of adding basic validation tests for whatever should be the allowed and disallowed user ID strings, when attempts are made to create such user IDs with each of
Sorting out how to run all acceptance tests with varying/unusual user names will need more thought/discussion and time to implement. |
Another issue/regression that happened with numeric UIDs and in a particular UI+API call: #37324 We need to think about how we can do this - to "optionally" run whole sets of UI and/or API tests with a variety of UIDs/Dispaly Names and other variables. |
Code is merged in the PRs linked above. ToDo:
|
This can be closed when #38364 is merged. |
Current acceptance tests user user IDs like
user0
,user1
,... There are some tests that verify that user IDs with non-alpha-numeric characters can be created (or not created). But we do not have much verification that user IDs containing those non-alpha-numeric characters actually work correctly in a range of situations.We have already "abstracted out" the "standard passwords" used in the acceptance tests - so that the passwords used by the tests can be passed in from environment variables. That allows the acceptance test suite to be run with a different set of interesting/varied passwords if desired.
We could do the same with the user IDs. Then we can easily run the acceptance test suite with user IDs like
123.Me.test_user@test-organization.org
(which uses lots of the valid special characters for a user ID).Note: the webUI message when specifying an invalid user ID says:
That is a clue to what should be valid and tested.
Note: since core 10.4
+
is also allowed in a username.The text was updated successfully, but these errors were encountered: