mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-07 20:00:37 -07:00
425 lines
48 KiB
Plaintext
425 lines
48 KiB
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`SettingsDialog > Initial Rendering > should render settings list with visual indicators 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Default Approval Mode Default │
|
|
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
|
|
│ │
|
|
│ Enable Auto Update true │
|
|
│ Enable automatic updates. │
|
|
│ │
|
|
│ Enable Notifications false │
|
|
│ Enable run-event notifications for action-required prompts and session completion. … │
|
|
│ │
|
|
│ Plan Directory undefined │
|
|
│ The directory where planning artifacts are stored. If not specified, defaults t… │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ Enable AI-powered prompt completion suggestions while typing. │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ Enable debug logging of keystrokes to the console. │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ Enable automatic session cleanup │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'accessibility settings enabled' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode true* │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Default Approval Mode Default │
|
|
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
|
|
│ │
|
|
│ Enable Auto Update true │
|
|
│ Enable automatic updates. │
|
|
│ │
|
|
│ Enable Notifications false │
|
|
│ Enable run-event notifications for action-required prompts and session completion. … │
|
|
│ │
|
|
│ Plan Directory undefined │
|
|
│ The directory where planning artifacts are stored. If not specified, defaults t… │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ Enable AI-powered prompt completion suggestions while typing. │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ Enable debug logging of keystrokes to the console. │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ Enable automatic session cleanup │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'all boolean settings disabled' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false* │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Default Approval Mode Default │
|
|
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
|
|
│ │
|
|
│ Enable Auto Update true* │
|
|
│ Enable automatic updates. │
|
|
│ │
|
|
│ Enable Notifications false │
|
|
│ Enable run-event notifications for action-required prompts and session completion. … │
|
|
│ │
|
|
│ Plan Directory undefined │
|
|
│ The directory where planning artifacts are stored. If not specified, defaults t… │
|
|
│ │
|
|
│ Enable Prompt Completion false* │
|
|
│ Enable AI-powered prompt completion suggestions while typing. │
|
|
│ │
|
|
│ Debug Keystroke Logging false* │
|
|
│ Enable debug logging of keystrokes to the console. │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ Enable automatic session cleanup │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'default state' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Default Approval Mode Default │
|
|
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
|
|
│ │
|
|
│ Enable Auto Update true │
|
|
│ Enable automatic updates. │
|
|
│ │
|
|
│ Enable Notifications false │
|
|
│ Enable run-event notifications for action-required prompts and session completion. … │
|
|
│ │
|
|
│ Plan Directory undefined │
|
|
│ The directory where planning artifacts are stored. If not specified, defaults t… │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ Enable AI-powered prompt completion suggestions while typing. │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ Enable debug logging of keystrokes to the console. │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ Enable automatic session cleanup │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'file filtering settings configured' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Default Approval Mode Default │
|
|
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
|
|
│ │
|
|
│ Enable Auto Update true │
|
|
│ Enable automatic updates. │
|
|
│ │
|
|
│ Enable Notifications false │
|
|
│ Enable run-event notifications for action-required prompts and session completion. … │
|
|
│ │
|
|
│ Plan Directory undefined │
|
|
│ The directory where planning artifacts are stored. If not specified, defaults t… │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ Enable AI-powered prompt completion suggestions while typing. │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ Enable debug logging of keystrokes to the console. │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ Enable automatic session cleanup │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'focused on scope selector' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ Vim Mode false │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Default Approval Mode Default │
|
|
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
|
|
│ │
|
|
│ Enable Auto Update true │
|
|
│ Enable automatic updates. │
|
|
│ │
|
|
│ Enable Notifications false │
|
|
│ Enable run-event notifications for action-required prompts and session completion. … │
|
|
│ │
|
|
│ Plan Directory undefined │
|
|
│ The directory where planning artifacts are stored. If not specified, defaults t… │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ Enable AI-powered prompt completion suggestions while typing. │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ Enable debug logging of keystrokes to the console. │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ Enable automatic session cleanup │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ > Apply To │
|
|
│ ● 1. User Settings │
|
|
│ 2. Workspace Settings │
|
|
│ 3. System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'mixed boolean and number settings' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false* │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Default Approval Mode Default │
|
|
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
|
|
│ │
|
|
│ Enable Auto Update false* │
|
|
│ Enable automatic updates. │
|
|
│ │
|
|
│ Enable Notifications false │
|
|
│ Enable run-event notifications for action-required prompts and session completion. … │
|
|
│ │
|
|
│ Plan Directory undefined │
|
|
│ The directory where planning artifacts are stored. If not specified, defaults t… │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ Enable AI-powered prompt completion suggestions while typing. │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ Enable debug logging of keystrokes to the console. │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ Enable automatic session cleanup │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'tools and security settings' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Default Approval Mode Default │
|
|
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
|
|
│ │
|
|
│ Enable Auto Update true │
|
|
│ Enable automatic updates. │
|
|
│ │
|
|
│ Enable Notifications false │
|
|
│ Enable run-event notifications for action-required prompts and session completion. … │
|
|
│ │
|
|
│ Plan Directory undefined │
|
|
│ The directory where planning artifacts are stored. If not specified, defaults t… │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ Enable AI-powered prompt completion suggestions while typing. │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ Enable debug logging of keystrokes to the console. │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ Enable automatic session cleanup │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'various boolean settings enabled' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode true* │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Default Approval Mode Default │
|
|
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
|
|
│ │
|
|
│ Enable Auto Update false* │
|
|
│ Enable automatic updates. │
|
|
│ │
|
|
│ Enable Notifications false │
|
|
│ Enable run-event notifications for action-required prompts and session completion. … │
|
|
│ │
|
|
│ Plan Directory undefined │
|
|
│ The directory where planning artifacts are stored. If not specified, defaults t… │
|
|
│ │
|
|
│ Enable Prompt Completion true* │
|
|
│ Enable AI-powered prompt completion suggestions while typing. │
|
|
│ │
|
|
│ Debug Keystroke Logging true* │
|
|
│ Enable debug logging of keystrokes to the console. │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ Enable automatic session cleanup │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
"
|
|
`;
|