import React from "react"; import type { Meta, StoryObj } from "@storybook/react"; import { createKcPageStory } from "../KcPageStory"; const { KcPageStory } = createKcPageStory({ pageId: "select-authenticator.ftl" }); const meta = { title: "login/select-authenticator.ftl", component: KcPageStory } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { render: () => }; export const WithDifferentAuthenticationMethods: Story = { render: () => ( ) }; export const WithRealmTranslations: Story = { render: () => ( ) }; /** * WithoutAuthenticationSelections: * - Purpose: Tests when no authentication methods are available for selection. * - Scenario: The component renders without any authentication options, providing a default message or fallback. * - Key Aspect: Ensures that the component gracefully handles the absence of available authentication methods. */ export const WithoutAuthenticationSelections: Story = { render: () => ( ) };