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

Dynamic password #2426

Merged
merged 2 commits into from
Sep 20, 2024
Merged
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 @@ -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
Loading