Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(test): update model selector button name in attachment test\n\nThe test for the model selector in the assistant-ui composer was failing because the button's accessible name changed from "Select model" to "Model". This updates the test expectation to match the current button label.\n\nAuto-committed-on: dragonfly\n

Steven Enamakel1d6067612629
diff --git a/app/src/pages/__tests__/Conversations.attachments.test.tsx b/app/src/pages/__tests__/Conversations.attachments.test.tsx
index 7141cab694..df68ee847e 100644
--- a/app/src/pages/__tests__/Conversations.attachments.test.tsx
+++ b/app/src/pages/__tests__/Conversations.attachments.test.tsx
@@ -447,7 +447,7 @@ describe('Conversations — attachment feature', () => {
it('shows the model selector in the assistant-ui composer', async () => {
await renderWithSelectedThread();
- expect(await screen.findByRole('button', { name: 'Select model' })).toBeInTheDocument();
+ expect(await screen.findByRole('button', { name: 'Model' })).toBeInTheDocument();
});
it('rejects an image and shows the advisory when the model lacks vision', async () => {