2024-06-06 08:58:01 +00:00
|
|
|
import { expect, test } from "@playwright/test";
|
|
|
|
import { login } from "../login";
|
|
|
|
|
|
|
|
const realm = "verifiable-credentials";
|
|
|
|
|
|
|
|
test.describe("Verifiable Credentials page", () => {
|
2024-09-27 11:21:43 +00:00
|
|
|
test.skip("Get offer for test-credential.", async ({ page }) => {
|
2024-06-06 08:58:01 +00:00
|
|
|
await login(page, "test-user", "test", realm);
|
|
|
|
|
|
|
|
await expect(page.getByTestId("qr-code")).toBeHidden();
|
|
|
|
|
|
|
|
await page.getByTestId("oid4vci").click();
|
|
|
|
await page.getByTestId("menu-toggle").click();
|
|
|
|
|
|
|
|
await expect(page.getByTestId("verifiable-credential")).toBeVisible();
|
|
|
|
await expect(page.getByTestId("natural-person")).toBeVisible();
|
|
|
|
await page.getByTestId("natural-person").click();
|
|
|
|
await expect(page.getByTestId("qr-code")).toBeVisible();
|
|
|
|
});
|
|
|
|
});
|