mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-03 20:13:02 +00:00
test(ui): cover Claude Opus 5 catalog visibility
This commit is contained in:
1 parent
af4e4fb353
commit
0629b4a405
2 files changed
+3
-1
No files matched your search
@@ -70,7 +70,7 @@ describe('FlexibleModelSelector', () => {
|
||||
expect(screen.queryByText(/All Models \(/i)).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('surfaces Claude Sonnet 5 in the curated Claude picker', async () => {
|
||||
it('surfaces current Claude models in the curated Claude picker', async () => {
|
||||
render(
|
||||
<FlexibleModelSelector
|
||||
label="Primary model"
|
||||
@@ -84,6 +84,7 @@ describe('FlexibleModelSelector', () => {
|
||||
await userEvent.click(screen.getByRole('button', { name: /select model/i }));
|
||||
|
||||
expect(screen.getByRole('option', { name: /claude-sonnet-5/i })).toBeInTheDocument();
|
||||
expect(screen.getByRole('option', { name: /claude-opus-5/i })).toBeInTheDocument();
|
||||
expect(screen.getByRole('option', { name: /claude-opus-4-8/i })).toBeInTheDocument();
|
||||
expect(screen.getByRole('option', { name: /claude-sonnet-4-6/i })).toBeInTheDocument();
|
||||
});
|
||||
|
||||
@@ -23,6 +23,7 @@ describe('claude preset utils', () => {
|
||||
expect(claudeCatalog.defaultModel).toBe('claude-sonnet-5');
|
||||
expect(ids).toContain('claude-sonnet-5');
|
||||
expect(ids).toContain('claude-fable-5');
|
||||
expect(ids).toContain('claude-opus-5');
|
||||
expect(ids).toContain('claude-opus-4-8');
|
||||
expect(ids).toContain('claude-opus-4-7');
|
||||
expect(ids).toContain('claude-sonnet-4-6');
|
||||
|
||||
Reference in new issue
Block a user