From 4d47f1b06f951337d122d3c45da408bcf9d9b523 Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 17 Mar 2025 16:54:20 -0600 Subject: test: update credentials used in test to match seed data --- test/e2e_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/e2e_test.go b/test/e2e_test.go index 16ea4be..7fd59e4 100644 --- a/test/e2e_test.go +++ b/test/e2e_test.go @@ -50,8 +50,8 @@ func TestAuthx(t *testing.T) { assert.Equal(t, "http://idp.example.com:8080/saml/new", action) assert.NoError(t, page.Locator("#submit-button").Click()) - page.Locator("#username").Fill("username1") - page.Locator("#password").Fill("password1") + page.Locator("#username").Fill("root") + page.Locator("#password").Fill("root") assert.NoError(t, page.Locator("#login-button").Click()) action = x.Must(page.Locator("#postback-form").GetAttribute("action")) @@ -67,8 +67,8 @@ func TestAuthx(t *testing.T) { x.Must(page.Goto("http://ui.example.com:8080/oidc/new")) assert.Contains(t, page.URL(), "http://idp.example.com:8080/sessions/new") - page.Locator("#username").Fill("username1") - page.Locator("#password").Fill("password1") + page.Locator("#username").Fill("root") + page.Locator("#password").Fill("root") assert.NoError(t, page.Locator("#login-button").Click()) assert.Contains(t, page.URL(), "http://idp.example.com:8080/oauth/authorize/continue") @@ -225,8 +225,8 @@ func TestAuthx(t *testing.T) { assert.NoError(t, page.Context().ClearCookies()) x.Must(page.Goto(authURL)) - page.Locator("#username").Fill("username1") - page.Locator("#password").Fill("password1") + page.Locator("#username").Fill("root") + page.Locator("#password").Fill("root") assert.NoError(t, page.Locator("#login-button").Click()) assert.NoError(t, page.Locator("#submit-button").Click()) -- cgit v1.2.3