import React from "react"; import type { Meta, StoryObj } from "@storybook/react"; import { createKcPageStory } from "../KcPageStory"; const { KcPageStory } = createKcPageStory({ pageId: "login-x509-info.ftl" }); const meta = { title: "login/login-x509-info.ftl", component: KcPageStory } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { render: () => }; /** * WithoutUserEnabled: * - Purpose: Tests when the user is not enabled to log in via x509. * - Scenario: The component renders the certificate details but does not provide the option to log in or cancel. * - Key Aspect: Ensures that the login buttons are not displayed when the user is not enabled. */ export const WithoutUserEnabled: Story = { render: () => ( ) };