keycloak-scim/js/apps/account-ui/test/account-security.spec.ts
Jon Koops c17023270c
Use correct PNPM workspace names on CI (#29973)
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>
2024-06-03 13:42:44 +02:00

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");
});