mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
fix: add alwaysAllowFollowupQuestions to integration tests
- Add nonInteractive: true to CLI integration test - Add alwaysAllowFollowupQuestions: true to vscode-e2e tests - Ensures tests auto-continue when model doesn't use tools - Fixes timeout issues introduced by relaxed tool requirement in system prompt
This commit is contained in:
parent
0da4d352e1
commit
33dad58052
4 changed files with 37 additions and 6 deletions
|
|
@ -20,7 +20,12 @@ suite("Markdown List Rendering", function () {
|
|||
})
|
||||
|
||||
const taskId = await api.startNewTask({
|
||||
configuration: { mode: "ask", alwaysAllowModeSwitch: true, autoApprovalEnabled: true },
|
||||
configuration: {
|
||||
mode: "ask",
|
||||
alwaysAllowModeSwitch: true,
|
||||
autoApprovalEnabled: true,
|
||||
alwaysAllowFollowupQuestions: true,
|
||||
},
|
||||
text: "Please show me an example of an unordered list with the following items: Apple, Banana, Orange",
|
||||
})
|
||||
|
||||
|
|
@ -57,7 +62,12 @@ suite("Markdown List Rendering", function () {
|
|||
})
|
||||
|
||||
const taskId = await api.startNewTask({
|
||||
configuration: { mode: "ask", alwaysAllowModeSwitch: true, autoApprovalEnabled: true },
|
||||
configuration: {
|
||||
mode: "ask",
|
||||
alwaysAllowModeSwitch: true,
|
||||
autoApprovalEnabled: true,
|
||||
alwaysAllowFollowupQuestions: true,
|
||||
},
|
||||
text: "Please show me a numbered list with three steps: First step, Second step, Third step",
|
||||
})
|
||||
|
||||
|
|
@ -94,7 +104,12 @@ suite("Markdown List Rendering", function () {
|
|||
})
|
||||
|
||||
const taskId = await api.startNewTask({
|
||||
configuration: { mode: "ask", alwaysAllowModeSwitch: true, autoApprovalEnabled: true },
|
||||
configuration: {
|
||||
mode: "ask",
|
||||
alwaysAllowModeSwitch: true,
|
||||
autoApprovalEnabled: true,
|
||||
alwaysAllowFollowupQuestions: true,
|
||||
},
|
||||
text: "Please create a nested list with 'Main item' having two sub-items: 'Sub-item A' and 'Sub-item B'",
|
||||
})
|
||||
|
||||
|
|
@ -146,7 +161,12 @@ suite("Markdown List Rendering", function () {
|
|||
})
|
||||
|
||||
const taskId = await api.startNewTask({
|
||||
configuration: { mode: "ask", alwaysAllowModeSwitch: true, autoApprovalEnabled: true },
|
||||
configuration: {
|
||||
mode: "ask",
|
||||
alwaysAllowModeSwitch: true,
|
||||
autoApprovalEnabled: true,
|
||||
alwaysAllowFollowupQuestions: true,
|
||||
},
|
||||
text: "Please create a list that has both numbered items and bullet points, mixing ordered and unordered lists",
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,12 @@ suite("Roo Code Modes", function () {
|
|||
globalThis.api.on(RooCodeEventName.TaskModeSwitched, (_taskId, mode) => modes.push(mode))
|
||||
|
||||
const switchModesTaskId = await globalThis.api.startNewTask({
|
||||
configuration: { mode: "code", alwaysAllowModeSwitch: true, autoApprovalEnabled: true },
|
||||
configuration: {
|
||||
mode: "code",
|
||||
alwaysAllowModeSwitch: true,
|
||||
autoApprovalEnabled: true,
|
||||
alwaysAllowFollowupQuestions: true,
|
||||
},
|
||||
text: "For each of `architect`, `ask`, and `debug` use the `switch_mode` tool to switch to that mode.",
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ suite.skip("Roo Code Subtasks", () => {
|
|||
alwaysAllowModeSwitch: true,
|
||||
alwaysAllowSubtasks: true,
|
||||
autoApprovalEnabled: true,
|
||||
alwaysAllowFollowupQuestions: true,
|
||||
enableCheckpoints: false,
|
||||
},
|
||||
text:
|
||||
|
|
|
|||
|
|
@ -20,7 +20,12 @@ suite("Roo Code Task", function () {
|
|||
})
|
||||
|
||||
const taskId = await api.startNewTask({
|
||||
configuration: { mode: "ask", alwaysAllowModeSwitch: true, autoApprovalEnabled: true },
|
||||
configuration: {
|
||||
mode: "ask",
|
||||
alwaysAllowModeSwitch: true,
|
||||
autoApprovalEnabled: true,
|
||||
alwaysAllowFollowupQuestions: true,
|
||||
},
|
||||
text: "Hello world, what is your name? Respond with 'My name is ...'",
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue