5d39625d82
* initial version Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> * better init Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> * added more components Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> * moved to public Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> * use environment var to enter library mode Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> * added export field Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> --------- Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
15 lines
507 B
TypeScript
15 lines
507 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",
|
|
);
|
|
|
|
expect(linkedAccountsNavItem).toBeVisible();
|
|
await linkedAccountsNavItem.click();
|
|
await expect(page.getByTestId("page-heading")).toHaveText("Linked accounts");
|
|
});
|