Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

843 B
Raw Blame
import { Meta } from '@storybook/react'

import { AuthenticatedShellFallback } from './AuthenticatedShellFallback'

const meta: Meta<typeof AuthenticatedShellFallback> = {
    title: 'Scenes-Other/AuthenticatedShellFallback',
    component: AuthenticatedShellFallback,
    parameters: {
        layout: 'fullscreen',
        testOptions: {
            // The fallback is itself a loader, so never wait for the spinner to disappear.
            waitForLoadersToDisappear: false,
            // Wait past the retry delay so the snapshot captures the explained, actionable state.
            waitForSelector: '[data-attr="authenticated-shell-fallback-reload"]',
            waitForSelectorTimeout: 12000,
        },
    },
}
export default meta

export function StuckShell(): JSX.Element {
    return <AuthenticatedShellFallback showSpinner />
}