keycloak-scim/js/apps/account-ui/test/oid4vci/oid4vci.spec.ts
Jon Koops aa86a0b94c Fix various linting issues for Account Console
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-06-03 10:47:40 +02:00

17 lines
710 B
TypeScript

import { expect, test } from "@playwright/test";
import { login } from "../login";
test.describe("Verifiable Credentials page", () => {
test("Get offer for test-credential.", async ({ page }) => {
await login(page, "test-user", "test");
await expect(page.getByTestId("qr-code")).toBeHidden();
await page.getByTestId("oid4vci").click();
await page.getByTestId("credential-select").click();
await expect(
page.getByTestId("select-verifiable-credential"),
).toBeVisible();
await expect(page.getByTestId("select-natural-person")).toBeVisible();
await page.getByTestId("select-natural-person").click();
await expect(page.getByTestId("qr-code")).toBeVisible();
});
});