test(ui): update tests and snapshots for SessionRetentionWarningDialog

This commit is contained in:
Mark McLaughlin
2026-02-24 09:42:18 -08:00
parent 2aabc9fd5f
commit ca57f82769
2 changed files with 6 additions and 6 deletions
@@ -38,7 +38,7 @@ describe('SessionRetentionWarningDialog', () => {
expect(lastFrame()).toContain(
'introducing a limit on how long chat sessions are stored',
);
expect(lastFrame()).toContain('Keep for 30 days (Recommended)');
expect(lastFrame()).toContain('Keep for 30 days (recommended)');
expect(lastFrame()).toContain('42 sessions will be deleted');
expect(lastFrame()).toContain('Keep for 120 days');
expect(lastFrame()).toContain('No sessions will be deleted at this time');
@@ -3,18 +3,18 @@
exports[`SessionRetentionWarningDialog > should match snapshot 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
Keep chat history
Keep chat history
│ │
│ To keep your workspace clean, we are introducing a limit on how long chat sessions are stored. │
Please choose a retention period for your existing chats: │
│ To keep your workspace clean, were introducing a limit on how long chat sessions are stored.
Choose a retention period for your existing chats:
│ │
│ │
│ 1. Keep for 30 days (Recommended) │
│ 1. Keep for 30 days (recommended) │
│ 123 sessions will be deleted │
│ ● 2. Keep for 120 days │
│ No sessions will be deleted at this time │
│ │
│ Set a custom limit /settings and change "Keep chat history".
│ Set a custom limit in /settings and change "Keep chat history". │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
"