mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-22 11:04:42 -07:00
416 lines
48 KiB
Plaintext
416 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 │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ Enable preview features (e.g., preview models). │
|
|
│ │
|
|
│ Vim Mode false │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ Disable automatic updates │
|
|
│ │
|
|
│ 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 │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ The format of the CLI output. │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ Hide the window title bar │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'accessibility settings enabled' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ Enable preview features (e.g., preview models). │
|
|
│ │
|
|
│ Vim Mode true* │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ Disable automatic updates │
|
|
│ │
|
|
│ 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 │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ The format of the CLI output. │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ Hide the window title bar │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'all boolean settings disabled' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ Enable preview features (e.g., preview models). │
|
|
│ │
|
|
│ Vim Mode false* │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Disable Auto Update false* │
|
|
│ Disable automatic updates │
|
|
│ │
|
|
│ 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 │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ The format of the CLI output. │
|
|
│ │
|
|
│ Hide Window Title false* │
|
|
│ Hide the window title bar │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'default state' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ Enable preview features (e.g., preview models). │
|
|
│ │
|
|
│ Vim Mode false │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ Disable automatic updates │
|
|
│ │
|
|
│ 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 │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ The format of the CLI output. │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ Hide the window title bar │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'file filtering settings configured' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ Enable preview features (e.g., preview models). │
|
|
│ │
|
|
│ Vim Mode false │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ Disable automatic updates │
|
|
│ │
|
|
│ 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 │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ The format of the CLI output. │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ Hide the window title bar │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'focused on scope selector' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ Preview Features (e.g., models) false │
|
|
│ Enable preview features (e.g., preview models). │
|
|
│ │
|
|
│ Vim Mode false │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ Disable automatic updates │
|
|
│ │
|
|
│ 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 │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ The format of the CLI output. │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ Hide the window title bar │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ > Apply To │
|
|
│ ● 1. User Settings │
|
|
│ 2. Workspace Settings │
|
|
│ 3. System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'mixed boolean and number settings' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ Enable preview features (e.g., preview models). │
|
|
│ │
|
|
│ Vim Mode false* │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Disable Auto Update true* │
|
|
│ Disable automatic updates │
|
|
│ │
|
|
│ 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 │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ The format of the CLI output. │
|
|
│ │
|
|
│ Hide Window Title false* │
|
|
│ Hide the window title bar │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'tools and security settings' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ Enable preview features (e.g., preview models). │
|
|
│ │
|
|
│ Vim Mode false │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ Disable automatic updates │
|
|
│ │
|
|
│ 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 │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ The format of the CLI output. │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ Hide the window title bar │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render 'various boolean settings enabled' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │
|
|
│ │ Search to filter │ │
|
|
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ Enable preview features (e.g., preview models). │
|
|
│ │
|
|
│ Vim Mode true* │
|
|
│ Enable Vim keybindings │
|
|
│ │
|
|
│ Disable Auto Update true* │
|
|
│ Disable automatic updates │
|
|
│ │
|
|
│ 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 │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ The format of the CLI output. │
|
|
│ │
|
|
│ Hide Window Title true* │
|
|
│ Hide the window title bar │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|