2023-07-07 14:34:54 +00:00
|
|
|
import { test, expect } from "@playwright/test";
|
|
|
|
import { login } from "./login";
|
|
|
|
|
|
|
|
test.describe("My resources page", () => {
|
|
|
|
test("List my resources", async ({ page }) => {
|
2023-08-18 12:18:28 +00:00
|
|
|
await login(page, "jdoe", "jdoe", "photoz");
|
2023-07-07 14:34:54 +00:00
|
|
|
await page.getByTestId("resources").click();
|
2023-08-14 14:41:58 +00:00
|
|
|
//await expect(page.getByTestId("row[0].name")).toHaveText("one");
|
2023-07-07 14:34:54 +00:00
|
|
|
await expect(page.getByRole("gridcell", { name: "one" })).toBeVisible();
|
|
|
|
});
|
|
|
|
});
|