Update login page CSS selectors in e2e test
This commit is contained in:
parent
00d68845c4
commit
6e6e1f4add
@ -1080,9 +1080,9 @@ func TestE2EFullIntegration_Browser(t *testing.T) { // nolint:gocyclo
|
|||||||
regex := regexp.MustCompile(`\A` + downstream.Spec.Issuer + `/login.+`)
|
regex := regexp.MustCompile(`\A` + downstream.Spec.Issuer + `/login.+`)
|
||||||
browsertest.WaitForURL(t, page, regex)
|
browsertest.WaitForURL(t, page, regex)
|
||||||
|
|
||||||
usernameSelector := "input#username"
|
usernameSelector := "#username"
|
||||||
passwordSelector := "input[type='password']"
|
passwordSelector := "#password"
|
||||||
loginButtonSelector := "button#submit"
|
loginButtonSelector := "#submit"
|
||||||
browsertest.WaitForVisibleElements(t, page, usernameSelector, passwordSelector, loginButtonSelector)
|
browsertest.WaitForVisibleElements(t, page, usernameSelector, passwordSelector, loginButtonSelector)
|
||||||
|
|
||||||
// Fill in the username and password and click "submit".
|
// Fill in the username and password and click "submit".
|
||||||
|
Loading…
Reference in New Issue
Block a user