Skip to content

Commit

Permalink
Fix selecting password field to signin
Browse files Browse the repository at this point in the history
This makes the selector more specific so the setup script can
successfully login into Signon.
  • Loading branch information
theseanything committed Sep 19, 2024
1 parent 38227db commit 3860b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ function publishingAppUrl(appName) {
}

async function logIntoSignon(page) {
await page.getByLabel("Email").fill(process.env.SIGNON_EMAIL);
await page.getByLabel("Password").fill(process.env.SIGNON_PASSWORD);
await page.getByLabel("Email", { exact: true }).fill(process.env.SIGNON_EMAIL);
await page.getByLabel("Password", { exact: true }).fill(process.env.SIGNON_PASSWORD);
await page.getByRole("button", { name: "Sign in" }).click();
}

Expand Down

0 comments on commit 3860b1f

Please sign in to comment.