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(settings): wait for image field instead of RPC call in validation tests
Steven Enamakel1462ebb4e6fc
diff --git a/app/src/components/settings/panels/__tests__/SandboxSettingsPanel.validation.test.tsx b/app/src/components/settings/panels/__tests__/SandboxSettingsPanel.validation.test.tsxindex 165c5e4cad..a5cae34560 100644--- a/app/src/components/settings/panels/__tests__/SandboxSettingsPanel.validation.test.tsx+++ b/app/src/components/settings/panels/__tests__/SandboxSettingsPanel.validation.test.tsx@@ -66,7 +66,10 @@ const mockIsTauri = vi.mocked(isTauri);async function renderLoaded(overrides: Partial<SandboxSettings> = {}) {mockGet.mockResolvedValue({ result: sandboxSettings(overrides), logs: [] });renderWithProviders(<SandboxSettingsPanel />);- await waitFor(() => expect(mockGet).toHaveBeenCalled());+ // The RPC invocation is not a readiness signal: its resolved state update+ // can still be queued. The image field is populated from that same response+ // for every fixture in this file, so wait for it before querying the limits.+ await screen.findByDisplayValue(overrides.docker_image ?? 'alpine:3.20');}/**