keycloak-scim/js/apps/account-ui/test/my-resources.spec.ts

13 lines
429 B
TypeScript
Raw Normal View History

import { test, expect } from "@playwright/test";
import { login } from "./login";
test.describe("My resources page", () => {
test("List my resources", async ({ page }) => {
await page.goto("/?realm=photoz");
login(page, "jdoe", "jdoe");
await page.waitForURL("/?realm=photoz");
await page.getByTestId("resources").click();
await expect(page.getByRole("gridcell", { name: "one" })).toBeVisible();
});
});