The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(ai-panel): add provider selection steps before model id entry in vision test
Steven Enamakelb273cd7cdf32
diff --git a/app/src/components/settings/panels/__tests__/AIPanel.test.tsx b/app/src/components/settings/panels/__tests__/AIPanel.test.tsxindex 38334d3566..832cfc428c 100644--- a/app/src/components/settings/panels/__tests__/AIPanel.test.tsx+++ b/app/src/components/settings/panels/__tests__/AIPanel.test.tsx@@ -853,8 +853,11 @@ describe('AIPanel', () => {fireEvent.click(screen.getByRole('radio', { name: /Use Your Own Models/i }));// Enter a model id → the per-model "Supports vision" checkbox appears.- const modelInput = await screen.findByPlaceholderText('Enter model id');+ await openGlobalModelPicker();+ await selectPickerProvider(/OpenAI/i);+ const modelInput = await screen.findByPlaceholderText('Enter a model ID');fireEvent.change(modelInput, { target: { value: 'gpt-4o' } });+ fireEvent.click(screen.getByRole('button', { name: /Use this model/i }));const visionCheckbox = await screen.findByRole('checkbox', { name: /Supports vision/i });expect(visionCheckbox).not.toBeChecked();