0f6f9543ba
closes #25945 Signed-off-by: Stefan Wiedemann <wistefan@googlemail.com> Co-authored-by: Erik Jan de Wit <edewit@redhat.com> Co-authored-by: Jon Koops <jonkoops@gmail.com>
19 lines
No EOL
758 B
TypeScript
19 lines
No EOL
758 B
TypeScript
import { expect, test } from "@playwright/test";
|
|
import { login } from "../login";
|
|
|
|
const realm = "verifiable-credentials"
|
|
|
|
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
|
|
})
|
|
}) |