diff --git a/src/renderer/src/components/orca-profiles/OrcaProfileSignOutConfirmDialog.test.tsx b/src/renderer/src/components/orca-profiles/OrcaProfileSignOutConfirmDialog.test.tsx
new file mode 100644
index 00000000000..fa3961f455e
--- /dev/null
+++ b/src/renderer/src/components/orca-profiles/OrcaProfileSignOutConfirmDialog.test.tsx
@@ -0,0 +1,39 @@
+// @vitest-environment happy-dom
+
+import type { ReactNode } from 'react'
+import { renderToStaticMarkup } from 'react-dom/server'
+import { describe, expect, it, vi } from 'vitest'
+import { OrcaProfileSignOutConfirmDialog } from './OrcaProfileSignOutConfirmDialog'
+
+vi.mock('@/components/ui/dialog', () => ({
+ Dialog: ({ children }: { children: ReactNode }) => <>{children}>,
+ DialogContent: ({ children }: { children: ReactNode }) =>
{children}
,
+ DialogDescription: ({ children }: { children: ReactNode }) => {children}
,
+ DialogFooter: ({ children }: { children: ReactNode }) => ,
+ DialogHeader: ({ children }: { children: ReactNode }) => ,
+ DialogTitle: ({ children }: { children: ReactNode }) => {children}
+}))
+
+vi.mock('@/components/ui/button', () => ({
+ Button: ({ children }: { children: ReactNode }) =>
+}))
+
+describe('OrcaProfileSignOutConfirmDialog', () => {
+ it('describes account sign-out without presenting a local profile or warning', () => {
+ const html = renderToStaticMarkup(
+
+ )
+
+ expect(html).toContain('Sign out of Orca?')
+ expect(html).toContain(
+ 'You'll be signed out of Orca on this device. Your local projects and worktrees won't be affected.'
+ )
+ expect(html).not.toContain('Personal')
+ expect(html).not.toContain('alert-triangle')
+ })
+})
diff --git a/src/renderer/src/components/orca-profiles/OrcaProfileSignOutConfirmDialog.tsx b/src/renderer/src/components/orca-profiles/OrcaProfileSignOutConfirmDialog.tsx
index afa2b4707de..3e86dcf81a7 100644
--- a/src/renderer/src/components/orca-profiles/OrcaProfileSignOutConfirmDialog.tsx
+++ b/src/renderer/src/components/orca-profiles/OrcaProfileSignOutConfirmDialog.tsx
@@ -1,4 +1,4 @@
-import { AlertTriangle, Loader2 } from 'lucide-react'
+import { Loader2 } from 'lucide-react'
import { Button } from '@/components/ui/button'
import {
Dialog,
@@ -14,28 +14,24 @@ export function OrcaProfileSignOutConfirmDialog({
open,
onOpenChange,
onConfirm,
- profileName,
signingOut
}: {
open: boolean
onOpenChange: (open: boolean) => void
onConfirm: () => void
- profileName: string
signingOut: boolean
}): React.JSX.Element {
return (