From 6e6e1f4add06a40b1b8ac73f189c609572dcff03 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Thu, 5 May 2022 13:56:38 -0700 Subject: [PATCH] Update login page CSS selectors in e2e test --- test/integration/e2e_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/e2e_test.go b/test/integration/e2e_test.go index e4a73b66..ea5e0e50 100644 --- a/test/integration/e2e_test.go +++ b/test/integration/e2e_test.go @@ -1080,9 +1080,9 @@ func TestE2EFullIntegration_Browser(t *testing.T) { // nolint:gocyclo regex := regexp.MustCompile(`\A` + downstream.Spec.Issuer + `/login.+`) browsertest.WaitForURL(t, page, regex) - usernameSelector := "input#username" - passwordSelector := "input[type='password']" - loginButtonSelector := "button#submit" + usernameSelector := "#username" + passwordSelector := "#password" + loginButtonSelector := "#submit" browsertest.WaitForVisibleElements(t, page, usernameSelector, passwordSelector, loginButtonSelector) // Fill in the username and password and click "submit".