From bb6ba42b5e3283ecc34fc3dc633c19282e02c05c Mon Sep 17 00:00:00 2001 From: Hannes Rudolph Date: Mon, 3 Nov 2025 19:20:34 -0700 Subject: [PATCH] test(e2e): ensure mode-switch test completes by calling attempt_completion after switching modes --- apps/vscode-e2e/src/suite/modes.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/vscode-e2e/src/suite/modes.test.ts b/apps/vscode-e2e/src/suite/modes.test.ts index 7982f3cf22..eab21f6612 100644 --- a/apps/vscode-e2e/src/suite/modes.test.ts +++ b/apps/vscode-e2e/src/suite/modes.test.ts @@ -15,7 +15,7 @@ suite("Roo Code Modes", function () { const switchModesTaskId = await globalThis.api.startNewTask({ configuration: { mode: "code", alwaysAllowModeSwitch: true, autoApprovalEnabled: true }, - text: "For each of `architect`, `ask`, and `debug` use the `switch_mode` tool to switch to that mode.", + text: "For each of `architect`, `ask`, and `debug` use the `switch_mode` tool to switch to that mode. After switching all three, call the `attempt_completion` tool with the result: 'Mode switches completed.'", }) await waitUntilCompleted({ api: globalThis.api, taskId: switchModesTaskId })