Skip to content

Commit f727980

Browse files
committed
fix e2e tests
the new name normalizer changed the avatar
1 parent 920f71d commit f727980

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/e2e/login.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ describe("Login tests", () => {
2020
page.getByRole("link", { name: "ACM Logo Management Portal" }),
2121
).toBeVisible();
2222
await expect(
23-
page.getByRole("link", { name: "PC", exact: true }),
23+
page.getByRole("link", { name: "PU", exact: true }),
2424
).toBeVisible();
25-
await page.getByRole("link", { name: "PC", exact: true }).click();
26-
await expect(page.getByLabel("PCMy Account")).toContainText(
27-
"NamePlaywright Core [email protected] ProfileLog Out",
25+
await page.getByRole("link", { name: "PU", exact: true }).click();
26+
await expect(page.getByLabel("PUMy Account")).toContainText(
27+
"NamePlaywright [email protected] ProfileLog Out",
2828
);
2929
expect(page.url()).toEqual("https://manage.qa.acmuiuc.org/home");
3030
});

0 commit comments

Comments
 (0)