[xwiki/xwiki-platform] 9d1a34: XWIKI-22121: Improve the registration experience
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 9d1a34f7974cff7ef2fa0ba0aea4f152a16ef831 https://github.com/xwiki/xwiki-platform/commit/9d1a34f7974cff7ef2fa0ba0aea4f... Author: Sereza7 <[email protected]> Date: 2024-11-13 (Wed, 13 Nov 2024) Changed paths: M xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-pageobjects/src/main/java/org/xwiki/administration/test/po/TemplatesAdministrationSectionPage.java M xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-profile/xwiki-platform-user-profile-test/xwiki-platform-user-profile-test-pageobjects/src/main/java/org/xwiki/user/test/po/ChangePasswordPage.java Log Message: ----------- XWIKI-22121: Improve the registration experience * Added a wait on the changePasswordAsAdmin so that the validator used up to date info about the fields (when leaving the field, validation on the field is done. Once this individual validation is done, we add a class on the field to show its current status. We wait for this status, and then the form validation will have all the individual field validations updated). This fixes changePasswordWhenPolicyIsLength8AndNumberMandatory . * Updated the wait condition when validating the form for a new template. With the new validation script, we do not show a message for some fields when it's just `ok`. Instead of checking the number of valid fields, we check that there's one validation (since there's still one as of now) and no invalid field. I kept the waitCondition as close as possible to what was before. It could probably be improved but I went with the safer changes. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications