c17023270c
Closes #29976 Signed-off-by: Jon Koops <jonkoops@gmail.com> Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com> Co-authored-by: Hynek Mlnarik <hmlnarik@redhat.com>
15 lines
513 B
TypeScript
15 lines
513 B
TypeScript
import { test, expect } from "@playwright/test";
|
|
import { login } from "./login";
|
|
|
|
test("Check page heading", async ({ page }) => {
|
|
await login(page, "alice", "alice", "user-profile");
|
|
await page.getByTestId("accountSecurity").click();
|
|
|
|
const linkedAccountsNavItem = page.getByTestId(
|
|
"account-security/linked-accounts",
|
|
);
|
|
|
|
await expect(linkedAccountsNavItem).toBeVisible();
|
|
await linkedAccountsNavItem.click();
|
|
await expect(page.getByTestId("page-heading")).toHaveText("Linked accounts");
|
|
});
|