14 lines
512 B
TypeScript
14 lines
512 B
TypeScript
import { test, expect } from "@playwright/test";
|
|
import { login } from "./login";
|
|
|
|
test.describe("My resources page", () => {
|
|
test("List my resources", async ({ page }) => {
|
|
await page.goto(
|
|
process.env.CI ? "/realms/photoz/account" : "/?realm=photoz",
|
|
);
|
|
login(page, "jdoe", "jdoe");
|
|
await page.getByTestId("resources").click();
|
|
//await expect(page.getByTestId("row[0].name")).toHaveText("one");
|
|
await expect(page.getByRole("gridcell", { name: "one" })).toBeVisible();
|
|
});
|
|
});
|