> @google/gemini-cli@0.39.0-nightly.20260408.e77b22e63 test > vitest run --pool=threads RUN v3.2.4 /Users/mattkorwel/dev/gemini-cli/main/packages/cli Coverage enabled with v8 [?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h ❯ src/ui/components/ModelDialog.test.tsx (15 tests | 2 failed) 5411ms ✓ > renders the initial "main" view correctly 328ms ✓ > renders the "manual" view initially for users with no pro access and filters Pro models with correct order 167ms ✓ > closes dialog on escape in "manual" view for users with no pro access 132ms ✓ > switches to "manual" view when "Manual" is selected and uses getDisplayString for models 614ms ✓ > sets model and closes when a model is selected in "main" view 209ms ✓ > sets model and closes when a model is selected in "manual" view 681ms ✓ > toggles persist mode with Tab key 312ms ✓ > closes dialog on escape in "main" view 191ms ✓ > goes back to "main" view on escape in "manual" view 440ms ✓ > shows the preferred manual model in the main view option using getDisplayString 141ms ✓ > Preview Models > shows Auto (Preview) in main view when access is granted 145ms × > Preview Models > shows Gemini 3 models in manual view when Gemini 3.1 is NOT launched 540ms → expected '╭────────────────────────────────────…' to contain 'gemini-3-pro-preview' × > Preview Models > shows Gemini 3.1 models in manual view when Gemini 3.1 IS launched 598ms → expected '╭────────────────────────────────────…' to contain 'gemini-3.1-pro-preview' ✓ > Preview Models > uses custom tools model when Gemini 3.1 IS launched and auth is Gemini API Key 597ms ✓ > Preview Models > shows Flash Lite Preview model regardless of tier when flag is enabled 313ms [?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h ❯ src/ui/components/messages/DenseToolMessage.test.tsx (25 tests | 2 failed) 5320ms ✓ DenseToolMessage > explicitly renders the filename in the header for FileDiff results 686ms ✓ DenseToolMessage > renders correctly for a successful string result 162ms ✓ DenseToolMessage > truncates long string results 157ms ✓ DenseToolMessage > flattens newlines in string results 115ms ✓ DenseToolMessage > renders correctly for file diff results with stats 160ms ✓ DenseToolMessage > renders correctly for Edit tool using confirmationDetails 919ms ✓ DenseToolMessage > renders correctly for Rejected Edit tool 297ms ✓ DenseToolMessage > renders correctly for Rejected Edit tool with confirmationDetails and diffStat 148ms ✓ DenseToolMessage > renders correctly for WriteFile tool 141ms ✓ DenseToolMessage > renders correctly for Rejected WriteFile tool 110ms ✓ DenseToolMessage > renders correctly for Errored Edit tool 175ms ✓ DenseToolMessage > renders correctly for grep results 127ms ✓ DenseToolMessage > renders correctly for ls results 82ms ✓ DenseToolMessage > renders correctly for ReadManyFiles results 199ms ✓ DenseToolMessage > renders correctly for todo updates 92ms ✓ DenseToolMessage > renders generic output message for unknown object results 67ms ✓ DenseToolMessage > renders correctly for error status with string message 179ms ✓ DenseToolMessage > renders generic failure message for error status without string message 68ms ✓ DenseToolMessage > does not render result arrow if resultDisplay is missing 129ms ✓ DenseToolMessage > truncates long description but preserves tool name (< 25 chars) 122ms ✓ DenseToolMessage > Toggleable Diff View (Alternate Buffer) > hides diff content by default when in alternate buffer mode 154ms ✓ DenseToolMessage > Toggleable Diff View (Alternate Buffer) > shows diff content by default when NOT in alternate buffer mode 134ms ✓ DenseToolMessage > Toggleable Diff View (Alternate Buffer) > shows diff content when expanded via ToolActionsContext 210ms × DenseToolMessage > Visual Regression > matches SVG snapshot for an Accepted file edit with diff stats 548ms → Snapshot `DenseToolMessage > Visual Regression > matches SVG snapshot for an Accepted file edit with diff stats 2` mismatched × DenseToolMessage > Visual Regression > matches SVG snapshot for a Rejected tool call 136ms → Snapshot `DenseToolMessage > Visual Regression > matches SVG snapshot for a Rejected tool call 2` mismatched [?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h ✓ src/ui/components/shared/BaseSettingsDialog.test.tsx (33 tests) 12811ms ✓ BaseSettingsDialog > rendering > should render the dialog with title 778ms ✓ BaseSettingsDialog > rendering > should render all items 334ms ✓ BaseSettingsDialog > rendering > should render help text with Ctrl+L for reset 342ms ✓ BaseSettingsDialog > keyboard navigation > should navigate down with arrow key 548ms ✓ BaseSettingsDialog > keyboard navigation > should navigate up with arrow key 526ms ✓ BaseSettingsDialog > keyboard navigation > should wrap around when navigating past last item 517ms ✓ BaseSettingsDialog > keyboard navigation > should wrap around when navigating before first item 358ms ✓ BaseSettingsDialog > keyboard navigation > should switch focus with Tab when scope selector is shown 306ms ✓ BaseSettingsDialog > scrolling and resizing list (search filtering) > should preserve focus on the active item if it remains in the filtered list 711ms ✓ BaseSettingsDialog > scrolling and resizing list (search filtering) > should reset focus to the top if the active item is filtered out 632ms ✓ BaseSettingsDialog > item interactions > should enter edit mode for string items on Enter 310ms ✓ BaseSettingsDialog > edit mode > should commit edit on Enter 342ms ✓ BaseSettingsDialog > edit mode > should commit edit on Escape 364ms ✓ BaseSettingsDialog > edit mode > should commit edit and navigate on Down arrow 375ms ✓ BaseSettingsDialog > edit mode > should commit edit and navigate on Up arrow 562ms ✓ BaseSettingsDialog > edit mode > should allow number input for number fields 687ms ✓ BaseSettingsDialog > edit mode > should support quick number entry for number fields 355ms ✓ BaseSettingsDialog > edit mode > should allow j and k characters to be typed in string edit fields without triggering navigation 536ms ✓ BaseSettingsDialog > custom key handling > should call onKeyPress and respect its return value 301ms ✓ BaseSettingsDialog > focus management > should keep focus on settings when scope selector is hidden 320ms ✓ BaseSettingsDialog > responsiveness > should reduce the number of visible items based on height 448ms ✓ BaseSettingsDialog > responsiveness > should show scroll indicators when list is truncated by height 463ms [?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h ❯ src/ui/utils/TableRenderer.test.tsx (20 tests | 20 failed) 18099ms × TableRenderer > renders a 3x3 table correctly 885ms → Snapshot `TableRenderer > renders a 3x3 table correctly 2` mismatched × TableRenderer > renders a table with long headers and 4 columns correctly 2141ms → Snapshot `TableRenderer > renders a table with long headers and 4 columns correctly 2` mismatched × TableRenderer > wraps long cell content correctly 855ms → Snapshot `TableRenderer > wraps long cell content correctly 2` mismatched × TableRenderer > wraps all long columns correctly 1537ms → Snapshot `TableRenderer > wraps all long columns correctly 2` mismatched × TableRenderer > wraps mixed long and short columns correctly 638ms → Snapshot `TableRenderer > wraps mixed long and short columns correctly 2` mismatched × TableRenderer > wraps columns with punctuation correctly 1151ms → Snapshot `TableRenderer > wraps columns with punctuation correctly 2` mismatched × TableRenderer > strips bold markers from headers and renders them correctly 529ms → Snapshot `TableRenderer > strips bold markers from headers and renders them correctly 2` mismatched × TableRenderer > handles wrapped bold headers without showing markers 1226ms → Snapshot `TableRenderer > handles wrapped bold headers without showing markers 2` mismatched × TableRenderer > renders a complex table with mixed content lengths correctly 700ms → Snapshot `TableRenderer > renders a complex table with mixed content lengths correctly 2` mismatched × TableRenderer > 'handles non-ASCII characters (emojis …' 653ms → Snapshot `TableRenderer > 'handles non-ASCII characters (emojis …' 2` mismatched × TableRenderer > 'renders a table with only emojis and …' 302ms → Snapshot `TableRenderer > 'renders a table with only emojis and …' 2` mismatched × TableRenderer > 'renders a table with only Asian chara…' 428ms → Snapshot `TableRenderer > 'renders a table with only Asian chara…' 2` mismatched × TableRenderer > 'renders a table with mixed emojis, As…' 494ms → Snapshot `TableRenderer > 'renders a table with mixed emojis, As…' 2` mismatched × TableRenderer > 'renders correctly when headers are em…' 281ms → Snapshot `TableRenderer > 'renders correctly when headers are em…' 2` mismatched × TableRenderer > 'renders correctly when there are more…' 575ms → Snapshot `TableRenderer > 'renders correctly when there are more…' 2` mismatched × TableRenderer > 'renders complex markdown in rows and …' 1614ms → Snapshot `TableRenderer > 'renders complex markdown in rows and …' 2` mismatched × TableRenderer > 'calculates column widths based on ren…' 552ms → Snapshot `TableRenderer > 'calculates column widths based on ren…' 2` mismatched × TableRenderer > 'handles nested markdown styles recurs…' 1231ms → Snapshot `TableRenderer > 'handles nested markdown styles recurs…' 2` mismatched × TableRenderer > 'calculates width correctly for conten…' 1398ms → Snapshot `TableRenderer > 'calculates width correctly for conten…' 2` mismatched × TableRenderer > 'does not parse markdown inside code s…' 905ms → Snapshot `TableRenderer > 'does not parse markdown inside code s…' 2` mismatched [?2004h ❯ src/ui/components/ExitPlanModeDialog.test.tsx (28 tests | 4 failed) 16960ms × ExitPlanModeDialog > useAlternateBuffer: true > renders correctly with plan content 860ms → Snapshot `ExitPlanModeDialog > useAlternateBuffer: true > renders correctly with plan content 1` mismatched ✓ ExitPlanModeDialog > useAlternateBuffer: true > calls onApprove with AUTO_EDIT when first option is selected 373ms ✓ ExitPlanModeDialog > useAlternateBuffer: true > calls onApprove with DEFAULT when second option is selected 492ms ✓ ExitPlanModeDialog > useAlternateBuffer: true > calls onFeedback when feedback is typed and submitted 1498ms ✓ ExitPlanModeDialog > useAlternateBuffer: true > calls onCancel when Esc is pressed 412ms ✓ ExitPlanModeDialog > useAlternateBuffer: true > displays error state when file read fails 138ms ✓ ExitPlanModeDialog > useAlternateBuffer: true > displays error state when plan file is empty 70ms × ExitPlanModeDialog > useAlternateBuffer: true > handles long plan content appropriately 220ms → Snapshot `ExitPlanModeDialog > useAlternateBuffer: true > handles long plan content appropriately 1` mismatched ✓ ExitPlanModeDialog > useAlternateBuffer: true > allows number key quick selection 378ms ✓ ExitPlanModeDialog > useAlternateBuffer: true > clears feedback text when Ctrl+C is pressed while editing 1724ms ✓ ExitPlanModeDialog > useAlternateBuffer: true > bubbles up Ctrl+C when feedback is empty while editing 932ms ✓ ExitPlanModeDialog > useAlternateBuffer: true > does not submit empty feedback when Enter is pressed 549ms ✓ ExitPlanModeDialog > useAlternateBuffer: true > allows arrow navigation while typing feedback to change selection 970ms ✓ ExitPlanModeDialog > useAlternateBuffer: true > automatically submits feedback when Ctrl+G is used to edit the plan 178ms × ExitPlanModeDialog > useAlternateBuffer: false > renders correctly with plan content 118ms → Snapshot `ExitPlanModeDialog > useAlternateBuffer: false > renders correctly with plan content 1` mismatched ✓ ExitPlanModeDialog > useAlternateBuffer: false > calls onApprove with AUTO_EDIT when first option is selected 266ms ✓ ExitPlanModeDialog > useAlternateBuffer: false > calls onApprove with DEFAULT when second option is selected 300ms ✓ ExitPlanModeDialog > useAlternateBuffer: false > calls onFeedback when feedback is typed and submitted 1292ms ✓ ExitPlanModeDialog > useAlternateBuffer: false > calls onCancel when Esc is pressed 310ms ✓ ExitPlanModeDialog > useAlternateBuffer: false > displays error state when file read fails 89ms ✓ ExitPlanModeDialog > useAlternateBuffer: false > displays error state when plan file is empty 118ms × ExitPlanModeDialog > useAlternateBuffer: false > handles long plan content appropriately 125ms → Snapshot `ExitPlanModeDialog > useAlternateBuffer: false > handles long plan content appropriately 1` mismatched ✓ ExitPlanModeDialog > useAlternateBuffer: false > allows number key quick selection 548ms ✓ ExitPlanModeDialog > useAlternateBuffer: false > clears feedback text when Ctrl+C is pressed while editing 2614ms ✓ ExitPlanModeDialog > useAlternateBuffer: false > bubbles up Ctrl+C when feedback is empty while editing 805ms ✓ ExitPlanModeDialog > useAlternateBuffer: false > does not submit empty feedback when Enter is pressed 500ms ✓ ExitPlanModeDialog > useAlternateBuffer: false > allows arrow navigation while typing feedback to change selection 684ms ✓ ExitPlanModeDialog > useAlternateBuffer: false > automatically submits feedback when Ctrl+G is used to edit the plan 390ms [?2004h[?2004h ❯ src/ui/components/AskUserDialog.test.tsx (42 tests | 5 failed) 17563ms × AskUserDialog > renders question and options 710ms → Snapshot `AskUserDialog > renders question and options 1` mismatched ✓ AskUserDialog > Submission: 'Single Select' > submits correct values for Single Select 300ms ✓ AskUserDialog > Submission: 'Multi-select' > submits correct values for Multi-select 918ms ✓ AskUserDialog > Submission: 'All of the above' > submits correct values for All of the above 1033ms ✓ AskUserDialog > Submission: 'Text Input' > submits correct values for Text Input 491ms ✓ AskUserDialog > verifies "All of the above" visual state with snapshot 604ms ✓ AskUserDialog > handles custom option in single select with inline typing 775ms ✓ AskUserDialog > supports multi-line input for "Other" option in choice questions 518ms ✓ AskUserDialog > Scroll Arrows (useAlternateBuffer: true) > shows scroll arrows correctly when useAlternateBuffer is true 348ms ✓ AskUserDialog > Scroll Arrows (useAlternateBuffer: false) > shows scroll arrows correctly when useAlternateBuffer is false 376ms ✓ AskUserDialog > navigates to custom option when typing unbound characters (Type-to-Jump) 508ms × AskUserDialog > shows progress header for multiple questions 133ms → Snapshot `AskUserDialog > shows progress header for multiple questions 1` mismatched × AskUserDialog > hides progress header for single question 127ms → Snapshot `AskUserDialog > hides progress header for single question 1` mismatched × AskUserDialog > shows keyboard hints 118ms → Snapshot `AskUserDialog > shows keyboard hints 1` mismatched ✓ AskUserDialog > navigates between questions with arrow keys 363ms ✓ AskUserDialog > preserves answers when navigating back 511ms × AskUserDialog > shows Review tab in progress header for multiple questions 180ms → Snapshot `AskUserDialog > shows Review tab in progress header for multiple questions 1` mismatched ✓ AskUserDialog > allows navigating to Review tab and back 485ms ✓ AskUserDialog > shows warning for unanswered questions on Review tab 232ms ✓ AskUserDialog > submits with unanswered questions when user confirms on Review 218ms ✓ AskUserDialog > Text type questions > renders text input for type: "text" 67ms ✓ AskUserDialog > Text type questions > shows default placeholder when none provided 156ms ✓ AskUserDialog > Text type questions > supports backspace in text mode 371ms ✓ AskUserDialog > Text type questions > shows correct keyboard hints for text type 113ms ✓ AskUserDialog > Text type questions > preserves text answer when navigating between questions 591ms ✓ AskUserDialog > Text type questions > handles mixed text and choice questions 695ms ✓ AskUserDialog > Text type questions > submits empty text as unanswered 156ms ✓ AskUserDialog > Text type questions > clears text on Ctrl+C 520ms ✓ AskUserDialog > Text type questions > allows immediate arrow navigation after switching away from text input 908ms ✓ AskUserDialog > Text type questions > handles rapid sequential answers correctly (stale closure protection) 676ms ✓ AskUserDialog > Markdown rendering > auto-bolds plain single-line questions 203ms ✓ AskUserDialog > Markdown rendering > does not auto-bold questions that already have markdown 284ms ✓ AskUserDialog > Markdown rendering > renders bold markdown in question 94ms ✓ AskUserDialog > Markdown rendering > renders inline code markdown in question 196ms ✓ AskUserDialog > uses availableTerminalHeight from UIStateContext if availableHeight prop is missing 173ms ✓ AskUserDialog > does NOT truncate the question when in alternate buffer mode even with small height 331ms ✓ AskUserDialog > Choice question placeholder > uses placeholder for "Other" option when provided 516ms ✓ AskUserDialog > Choice question placeholder > uses default placeholder when not provided 265ms ✓ AskUserDialog > Choice question placeholder > supports "Other" option for yesno questions 1445ms ✓ AskUserDialog > expands paste placeholders in multi-select custom option via Done 532ms ✓ AskUserDialog > shows at least 3 selection options even in small terminal heights 116ms ✓ AskUserDialog > allows the question to exceed 15 lines in a tall terminal 196ms [?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h[?2004h ✓ src/ui/components/Footer.test.tsx (39 tests) 4541ms ✓