mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 03:24:42 -07:00
86828bb561
Co-authored-by: Adam Weidman <65992621+adamfweidman@users.noreply.github.com> Co-authored-by: Sehoon Shon <sshon@google.com> Co-authored-by: Adib234 <30782825+Adib234@users.noreply.github.com> Co-authored-by: Sandy Tao <sandytao520@icloud.com> Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com> Co-authored-by: Aishanee Shah <aishaneeshah@gmail.com> Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com> Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com> Co-authored-by: Jacob Richman <jacob314@gmail.com> Co-authored-by: joshualitt <joshualitt@google.com> Co-authored-by: Jenna Inouye <jinouye@google.com>
317 lines
34 KiB
Plaintext
317 lines
34 KiB
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`SettingsDialog > Initial Rendering > should render settings list with visual indicators 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ │
|
|
│ Vim Mode false │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ 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 'accessibility settings enabled' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ │
|
|
│ Vim Mode true* │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ 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 'all boolean settings disabled' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ │
|
|
│ Vim Mode false* │
|
|
│ │
|
|
│ Disable Auto Update false* │
|
|
│ │
|
|
│ Enable Prompt Completion false* │
|
|
│ │
|
|
│ Debug Keystroke Logging false* │
|
|
│ │
|
|
│ 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 'default state' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ │
|
|
│ Vim Mode false │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ 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 'file filtering settings configured' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ │
|
|
│ Vim Mode false │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ 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' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ Preview Features (e.g., models) false │
|
|
│ │
|
|
│ Vim Mode false │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ Enable Session Cleanup false │
|
|
│ │
|
|
│ Output Format Text │
|
|
│ │
|
|
│ Hide Window Title false │
|
|
│ │
|
|
│ ▼ │
|
|
│ │
|
|
│ │
|
|
│ > 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 │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ │
|
|
│ Vim Mode false* │
|
|
│ │
|
|
│ Disable Auto Update true* │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ 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 'tools and security settings' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ │
|
|
│ Vim Mode false │
|
|
│ │
|
|
│ Disable Auto Update false │
|
|
│ │
|
|
│ Enable Prompt Completion false │
|
|
│ │
|
|
│ Debug Keystroke Logging false │
|
|
│ │
|
|
│ 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 'various boolean settings enabled' correctly 1`] = `
|
|
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ │
|
|
│ > Settings │
|
|
│ │
|
|
│ ▲ │
|
|
│ ● Preview Features (e.g., models) false │
|
|
│ │
|
|
│ Vim Mode true* │
|
|
│ │
|
|
│ Disable Auto Update true* │
|
|
│ │
|
|
│ Enable Prompt Completion true* │
|
|
│ │
|
|
│ Debug Keystroke Logging true* │
|
|
│ │
|
|
│ 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) │
|
|
│ │
|
|
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|