Skip to content

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

fix(settings): correct validation for sandbox environment name

Steven Enamakelba2450224f6f
diff --git a/app/src/components/settings/panels/__tests__/SandboxSettingsPanel.validation.test.tsx b/app/src/components/settings/panels/__tests__/SandboxSettingsPanel.validation.test.tsx
index 5cd0bf02eb..108d784184 100644
--- a/app/src/components/settings/panels/__tests__/SandboxSettingsPanel.validation.test.tsx
+++ b/app/src/components/settings/panels/__tests__/SandboxSettingsPanel.validation.test.tsx
@@ -73,9 +73,10 @@ async function renderLoaded(overrides: Partial<SandboxSettings> = {}) {
// getBy* accessors below then query a DOM that has no fields in it yet. The
// same trap is described under flushPersist; it applies to readiness too.
//
- // The backend select is rendered only by the loaded branch and by every
- // override these tests pass, so awaiting it is the signal that was meant.
- await screen.findByRole('combobox', { name: /backend/i });
+ // The backend radio group is rendered only by the loaded branch and by
+ // every override these tests pass, so awaiting it is the signal that was
+ // meant.
+ await screen.findByRole('radiogroup', { name: /backend/i });
}
/**