keycloak-scim/js/apps/account-ui/test/oid4vci/oid4vci.spec.ts
Erik Jan de Wit 022ab4d263
save error from async call (#32618)
* save error from async call

fixes: #32609
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-09-27 13:21:43 +02:00

20 lines
726 B
TypeScript

import { expect, test } from "@playwright/test";
import { login } from "../login";
const realm = "verifiable-credentials";
test.describe("Verifiable Credentials page", () => {
test.skip("Get offer for test-credential.", async ({ page }) => {
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();
});
});