feat(backends): compact Cloud vs Agent-server add-backend chooser (#16211)

Co-authored-by: Devin <devinvinson@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Graham Neubig <neubig@gmail.com>
Co-authored-by: Graham Neubig <neubig@users.noreply.github.com>
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
FraterCCCLXIII
2026-07-31 02:35:47 -04:00
committed by GitHub
co-authored by Devin Cursor Graham Neubig Graham Neubig openhands
parent 8e5dc43004
commit 932edbf812
9 changed files with 1152 additions and 179 deletions
@@ -451,6 +451,13 @@ test.describe("cross-connect: frontend-only → multiple backends", () => {
timeout: 5_000,
});
// The modal defaults to the Cloud tab; switch to Agent-server to access
// the manual connection form.
await page.getByTestId("add-backend-option-agent-server").click();
await expect(
page.getByTestId("add-backend-agent-server-panel"),
).toBeVisible({ timeout: 5_000 });
// Fill in Backend B details
const nameInput = page.getByTestId("add-backend-name");
await nameInput.click();