Skip to content

Commit

Permalink
Merge pull request #2426 from constantine2nd/develop
Browse files Browse the repository at this point in the history
Dynamic password
  • Loading branch information
simonredfern authored Sep 20, 2024
2 parents 75def15 + 1a851c3 commit 343dd56
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import code.api.util.ErrorMessages.{CannotGetUserInvitation, UserHasMissingRoles
import code.api.v4_0_0.OBPAPI4_0_0.Implementations4_0_0
import code.entitlement.Entitlement
import code.users.{UserInvitation, UserInvitationProvider}
import scala.util.Random.nextString
import code.util.Helper.MdcLoggable
import com.github.dwickern.macros.NameOf.nameOf
import com.openbankproject.commons.model.ErrorMessage
Expand Down Expand Up @@ -118,7 +119,7 @@ class UserInvitationApiAndGuiTest extends V400ServerSetup {
// http://localhost:8016/user_mgt/reset_password/IXIU0TVDUCKOH3RWEJF0XSSHNKSEFTQT?action=set
if(setPasswordUrl.contains("user_mgt/reset_password") && setPasswordUrl.contains("action=set")) {
// Set a new password
val password = "Mjsjssj2odjd#"
val password = s"M${nextString(6)}#"
val passwordField = IdQuery("password").webElement
passwordField.clear()
passwordField.sendKeys(password)
Expand Down

0 comments on commit 343dd56

Please sign in to comment.