Skip to content

Commit bb6ba42

Browse files
committed
test(e2e): ensure mode-switch test completes by calling attempt_completion after switching modes
1 parent b863406 commit bb6ba42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/vscode-e2e/src/suite/modes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ suite("Roo Code Modes", function () {
1515

1616
const switchModesTaskId = await globalThis.api.startNewTask({
1717
configuration: { mode: "code", alwaysAllowModeSwitch: true, autoApprovalEnabled: true },
18-
text: "For each of `architect`, `ask`, and `debug` use the `switch_mode` tool to switch to that mode.",
18+
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.'",
1919
})
2020

2121
await waitUntilCompleted({ api: globalThis.api, taskId: switchModesTaskId })

0 commit comments

Comments
 (0)