mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-16 21:10:40 -07:00
69d7ecec60
Co-authored-by: Miguel Solorio <miguelsolorio@google.com> Co-authored-by: Jacob Richman <jacob314@gmail.com>
352 lines
38 KiB
Plaintext
352 lines
38 KiB
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`SettingsDialog > Snapshot Tests > should render default state correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ Session Retention undefined │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ 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 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ Session Retention undefined │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ 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 with accessibility settings enabled 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode true* │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ Session Retention undefined │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ 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 with all boolean settings disabled 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false* │
|
|
│ │
|
|
│ Disable Auto Update false* │
|
|
│ │
|
|
│ Enable Prompt Completion false* │
|
|
│ │
|
|
│ Debug Keystroke Logging false* │
|
|
│ │
|
|
│ Session Retention undefined │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title false* │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ 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 with different scope selected (System) 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode (Modified in System) false │
|
|
│ │
|
|
│ Disable Auto Update (Modified in System) false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ Session Retention undefined │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ 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 with different scope selected (Workspace) 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode (Modified in Workspace) false │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging (Modified in Workspace) false │
|
|
│ │
|
|
│ Session Retention undefined │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ 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 with file filtering settings configured 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ Session Retention undefined │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ 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 with mixed boolean and number settings 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false* │
|
|
│ │
|
|
│ Disable Auto Update true* │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ Session Retention undefined │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title false* │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ 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 with tools and security settings 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode false │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ Session Retention undefined │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ 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 with various boolean settings enabled 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Vim Mode true* │
|
|
│ │
|
|
│ Disable Auto Update true* │
|
|
│ │
|
|
│ Enable Prompt Completion true* │
|
|
│ │
|
|
│ Debug Keystroke Logging true* │
|
|
│ │
|
|
│ Session Retention undefined │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title true* │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ Apply To │
|
|
│ ● User Settings │
|
|
│ Workspace Settings │
|
|
│ System Settings │
|
|
│ │
|
|
│ (Use Enter to select, Tab to change focus, Esc to close) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|