keycloak-scim/js/apps/account-ui/test/personal-info.spec.ts
Erik Jan de Wit 6d85ceef25
added better rendering to account (#22297)
* added better rendering to account

fixes: #21699

* merged in changes

* re-added test
2023-08-15 15:22:13 +02:00

14 lines
524 B
TypeScript

import { test, expect } from "@playwright/test";
test.describe("Personal info page", () => {
test("sets basic information", async ({ page }) => {
await page.goto("./");
await page.getByTestId("email").fill("edewit@somewhere.com");
await page.getByTestId("firstName").fill("Erik");
await page.getByTestId("lastName").fill("de Wit");
await page.getByTestId("save").click();
const alerts = page.getByTestId("alerts");
await expect(alerts).toHaveText("Your account has been updated.");
});
});