Skip to content

Commit 6c2e7a6

Browse files
authored
Merge pull request #2389 from aplbrain/73-dandi-ci-for-frontend-tests-failing
Fix Frontend CI Failing: remove " " from the Sign In/Up button names
2 parents 430cc57 + f2bf099 commit 6c2e7a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async function registerNewUser(page: Page) {
2626
await page.getByPlaceholder("Password").first().fill(password);
2727
await page.getByPlaceholder("Password (again)").click();
2828
await page.getByPlaceholder("Password (again)").fill(password);
29-
await page.getByRole("button", { name: "Sign Up" }).click();
29+
await page.getByRole("button", { name: "Sign Up" }).click();
3030
await page.getByLabel("First Name").click({ force: true });
3131
await page.getByLabel("First Name").fill(firstname);
3232
await page.getByLabel("Last Name").click({ force: true });
@@ -69,7 +69,7 @@ async function gotoAndLogin(page: Page) {
6969
await page.getByPlaceholder("Email address").fill("[email protected]");
7070
await page.getByPlaceholder("Password").click();
7171
await page.getByPlaceholder("Password").fill("password");
72-
await page.getByRole("button", { name: "Sign In" }).click();
72+
await page.getByRole("button", { name: "Sign In" }).click(); // GitHub sign in button
7373
await page.getByRole("button", { name: TEST_USER_INITIALS }).waitFor({ state: "visible" });
7474

7575
}

0 commit comments

Comments
 (0)