mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
test(e2e): ensure mode-switch test completes by calling attempt_completion after switching modes
This commit is contained in:
parent
b863406fcc
commit
bb6ba42b5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue