Allow to disable require update password for default admin user (#6780)
* Fix FindTextFeatureTest selenium test (#6762) * Allow to disable require update password for default admin user6.19.x
parent
7a3bb3f5b7
commit
7f6ec2e409
|
|
@ -540,6 +540,7 @@ CHE_SINGLE_PORT=false
|
|||
#CHE_KEYCLOAK_REALM=che
|
||||
#CHE_KEYCLOAK_CLIENT__ID=che-public
|
||||
#CHE_KEYCLOAK_ALLOWED__CLOCK__SKEW__SEC=3
|
||||
#CHE_KEYCLOAK_ADMIN_REQUIRE_UPDATE_PASSWORD=true
|
||||
|
||||
|
||||
########################################################################################
|
||||
|
|
|
|||
|
|
@ -65,6 +65,8 @@ node default {
|
|||
|
||||
$system_super_privileged_mode=getValue("SYSTEM_SUPER__PRIVILEGED__MODE", "false")
|
||||
|
||||
$che_keycloak_admin_require_update_password=getValue("CHE_KEYCLOAK_ADMIN_REQUIRE_UPDATE_PASSWORD", "true")
|
||||
|
||||
###############################
|
||||
# Include base module
|
||||
include base
|
||||
|
|
|
|||
|
|
@ -23,7 +23,11 @@
|
|||
"config" : { }
|
||||
} ],
|
||||
"disableableCredentialTypes" : [ "password" ],
|
||||
<% if scope.lookupvar('keycloak::che_keycloak_admin_require_update_password') == 'true' -%>
|
||||
"requiredActions" : [ "UPDATE_PASSWORD" ],
|
||||
<% else -%>
|
||||
"requiredActions" : [ ],
|
||||
<% end -%>
|
||||
"groups" : [ ]
|
||||
} ]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ public class FindText {
|
|||
|
||||
/** wait the 'Find Text' main form is closed */
|
||||
public void waitFindTextMainFormIsClosed() {
|
||||
loader.waitOnClosed();
|
||||
new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC)
|
||||
.until(ExpectedConditions.invisibilityOfElementLocated(By.id(Locators.MAIN_FORM)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue