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([