feat: release authentication diagnostics 0.2.0
This commit is contained in:
@@ -86,4 +86,29 @@ describe("authentication workbench", () => {
|
||||
),
|
||||
);
|
||||
});
|
||||
|
||||
it("renders the new OTP diagnostics and attestation workspaces", async () => {
|
||||
const user = userEvent.setup();
|
||||
render(<Workbench />);
|
||||
await user.click(screen.getByRole("button", { name: "Drift & timeline" }));
|
||||
expect(
|
||||
screen.getByRole("heading", { name: "OTP timeline" }),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByRole("heading", { name: "Clock-drift finder" }),
|
||||
).toBeInTheDocument();
|
||||
|
||||
await user.click(
|
||||
screen.getByRole("button", { name: /WebAuthn \/ Passkeys/iu }),
|
||||
);
|
||||
await user.click(
|
||||
screen.getByRole("button", { name: "Attestation verifier" }),
|
||||
);
|
||||
expect(
|
||||
screen.getByRole("heading", { name: "Attestation evidence" }),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByRole("heading", { name: "FIDO Metadata BLOB" }),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user