Skip to content

Commit 5f7a22d

Browse files
committed
fix: Find username fields labelled 'user name'
1 parent 0541bcc commit 5f7a22d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/auth/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default async function () {
4747
// If no login form is found, then either HTTP Basic auth succeeded, or the page does not require authentication.
4848
core.info("Checking for login form");
4949
const [usernameField, passwordField] = await Promise.all([
50-
page.getByLabel(/username/i).first(),
50+
page.getByLabel(/user ?name/i).first(),
5151
page.getByLabel(/password/i).first(),
5252
]);
5353
const [usernameFieldExists, passwordFieldExists] = await Promise.all([

0 commit comments

Comments
 (0)