From 5f7a22d49f78ac7fec0e09ab49a37098250a6a69 Mon Sep 17 00:00:00 2001 From: Clay Miller Date: Thu, 30 Oct 2025 12:16:02 -0400 Subject: [PATCH] fix: Find username fields labelled 'user name' --- .github/actions/auth/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/auth/src/index.ts b/.github/actions/auth/src/index.ts index 0e4eae3..4e0e4b1 100644 --- a/.github/actions/auth/src/index.ts +++ b/.github/actions/auth/src/index.ts @@ -47,7 +47,7 @@ export default async function () { // If no login form is found, then either HTTP Basic auth succeeded, or the page does not require authentication. core.info("Checking for login form"); const [usernameField, passwordField] = await Promise.all([ - page.getByLabel(/username/i).first(), + page.getByLabel(/user ?name/i).first(), page.getByLabel(/password/i).first(), ]); const [usernameFieldExists, passwordFieldExists] = await Promise.all([