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): update wallet balances panel test to reflect new balance format
Steven Enamakel0316dca5bb94
diff --git a/app/src/components/settings/panels/__tests__/WalletBalancesPanel.test.tsx b/app/src/components/settings/panels/__tests__/WalletBalancesPanel.test.tsxindex 31a51946b4..32cacd7515 100644--- a/app/src/components/settings/panels/__tests__/WalletBalancesPanel.test.tsx+++ b/app/src/components/settings/panels/__tests__/WalletBalancesPanel.test.tsx@@ -126,11 +126,15 @@ describe('WalletBalancesPanel — loading state', () => {renderPanel();- expect(screen.getByText(/loading balances/i)).toBeInTheDocument();+ // The loading state is a skeleton table body (`role="status"` ++ // `aria-busy`), announced via its `aria-label` rather than visible text.+ expect(screen.getByRole('status', { name: /loading balances/i })).toBeInTheDocument();// Resolve so React can clean up.resolve([]);- await waitFor(() => expect(screen.queryByText(/loading balances/i)).not.toBeInTheDocument());+ await waitFor(() =>+ expect(screen.queryByRole('status', { name: /loading balances/i })).not.toBeInTheDocument()+ );});});