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
fix(test): use queryAllByRole to avoid hidden element assertion failure
Steven Enamakel2bbac4bf2ca7
diff --git a/app/src/components/settings/panels/__tests__/AIPanel.test.tsx b/app/src/components/settings/panels/__tests__/AIPanel.test.tsxindex 29f400fec8..74c835ef44 100644--- a/app/src/components/settings/panels/__tests__/AIPanel.test.tsx+++ b/app/src/components/settings/panels/__tests__/AIPanel.test.tsx@@ -1545,7 +1545,7 @@ describe('AIPanel', () => {// the connect dialog is now a real Radix Dialog (migrated off a hand-rolled// `<div role="dialog">`), so Radix aria-hides the rest of the tree while it// is open and the default role query would otherwise see zero switches.- expect(screen.getAllByRole('switch', { hidden: true }).length).toBe(chipsBefore);+ expect(screen.queryAllByRole('switch', { hidden: true }).length).toBe(chipsBefore);// Specifically: no "Disconnect OpenAI" switch (chip is still in off state).expect(