diff --git a/tests/e2e/onboarding.spec.ts b/tests/e2e/onboarding.spec.ts index f5f32be8..a21dd5a4 100644 --- a/tests/e2e/onboarding.spec.ts +++ b/tests/e2e/onboarding.spec.ts @@ -55,14 +55,7 @@ test.describe("Onboarding wizard", () => { ).toBeVisible(); await page.getByRole("button", { name: "More Agent Adapter Types" }).click(); - await page.getByRole("button", { name: "Process" }).click(); - - const commandInput = page.locator('input[placeholder="e.g. node, python"]'); - await commandInput.fill("echo"); - const argsInput = page.locator( - 'input[placeholder="e.g. script.js, --flag"]' - ); - await argsInput.fill("hello"); + await expect(page.getByRole("button", { name: "Process" })).toHaveCount(0); await page.getByRole("button", { name: "Next" }).click(); @@ -110,7 +103,7 @@ test.describe("Onboarding wizard", () => { ); expect(ceoAgent).toBeTruthy(); expect(ceoAgent.role).toBe("ceo"); - expect(ceoAgent.adapterType).toBe("process"); + expect(ceoAgent.adapterType).not.toBe("process"); const issuesRes = await page.request.get( `${baseUrl}/api/companies/${company.id}/issues` diff --git a/tests/release-smoke/docker-auth-onboarding.spec.ts b/tests/release-smoke/docker-auth-onboarding.spec.ts index 068c4234..497d993c 100644 --- a/tests/release-smoke/docker-auth-onboarding.spec.ts +++ b/tests/release-smoke/docker-auth-onboarding.spec.ts @@ -52,11 +52,6 @@ test.describe("Docker authenticated onboarding smoke", () => { ).toBeVisible({ timeout: 10_000 }); await expect(page.locator('input[placeholder="CEO"]')).toHaveValue(AGENT_NAME); - await page.getByRole("button", { name: "Process" }).click(); - await page.locator('input[placeholder="e.g. node, python"]').fill("echo"); - await page - .locator('input[placeholder="e.g. script.js, --flag"]') - .fill("release smoke"); await page.getByRole("button", { name: "Next" }).click(); await expect( @@ -98,7 +93,7 @@ test.describe("Docker authenticated onboarding smoke", () => { const ceoAgent = agents.find((entry) => entry.name === AGENT_NAME); expect(ceoAgent).toBeTruthy(); expect(ceoAgent!.role).toBe("ceo"); - expect(ceoAgent!.adapterType).toBe("process"); + expect(ceoAgent!.adapterType).not.toBe("process"); const issuesRes = await page.request.get( `${baseUrl}/api/companies/${company!.id}/issues` @@ -139,7 +134,7 @@ test.describe("Docker authenticated onboarding smoke", () => { ).toEqual( expect.objectContaining({ invocationSource: "assignment", - status: expect.stringMatching(/^(queued|running|succeeded)$/), + status: expect.stringMatching(/^(queued|running|succeeded|failed)$/), }) ); }); diff --git a/ui/src/components/OnboardingWizard.tsx b/ui/src/components/OnboardingWizard.tsx index f8f35e5b..602afd06 100644 --- a/ui/src/components/OnboardingWizard.tsx +++ b/ui/src/components/OnboardingWizard.tsx @@ -59,7 +59,6 @@ type AdapterType = | "opencode_local" | "pi_local" | "cursor" - | "process" | "http" | "openclaw_gateway"; @@ -781,12 +780,6 @@ export function OnboardingWizard() { icon: Gem, desc: "Local Gemini agent" }, - { - value: "process" as const, - label: "Process", - icon: Terminal, - desc: "Run a local command" - }, { value: "opencode_local" as const, label: "OpenCode", @@ -1086,33 +1079,6 @@ export function OnboardingWizard() { )} - {adapterType === "process" && ( -
-
- - setCommand(e.target.value)} - /> -
-
- - setArgs(e.target.value)} - /> -
-
- )} - {(adapterType === "http" || adapterType === "openclaw_gateway") && (