Merge pull request #2506 from vmware/new_okta
Some checks failed
CodeQL / Analyze (go) (push) Failing after 3m18s
CodeQL / Analyze (javascript) (push) Failing after 3m7s

change css selectors which find Okta page elements for new Okta account
This commit is contained in:
Ryan Richard
2025-07-24 10:17:01 -07:00
committed by GitHub

View File

@@ -359,9 +359,9 @@ func LoginToUpstreamOIDC(t *testing.T, b *Browser, upstream testlib.TestOIDCUpst
Name: "Okta",
IssuerPattern: regexp.MustCompile(`\Ahttps://.+\.okta\.com/.+\z`),
LoginPagePattern: regexp.MustCompile(`\Ahttps://.+\.okta\.com/.*\z`),
UsernameSelector: "input#okta-signin-username",
PasswordSelector: "input#okta-signin-password",
LoginButtonSelector: "input#okta-signin-submit",
UsernameSelector: "input[type=text]",
PasswordSelector: "input[type=password]",
LoginButtonSelector: "input[type=submit]",
},
{
Name: "Dex",