summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-17 16:54:20 -0600
committermo khan <mo@mokhan.ca>2025-03-17 16:54:20 -0600
commit4d47f1b06f951337d122d3c45da408bcf9d9b523 (patch)
tree1e714c28ebcd134dace06c1185d94c2881e8a3b6
parent338ff46e4ab799a4b159f8c2a79b73751f920727 (diff)
test: update credentials used in test to match seed data
-rw-r--r--test/e2e_test.go12
1 files changed, 6 insertions, 6 deletions
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())