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:
daniel-lxs 2026-01-06 18:25:38 -05:00
parent 0da4d352e1
commit 33dad58052
No known key found for this signature in database
GPG key ID: 21C74479048B3AA6
4 changed files with 37 additions and 6 deletions

View file

@ -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",
})

View file

@ -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.",
})

View file

@ -26,6 +26,7 @@ suite.skip("Roo Code Subtasks", () => {
alwaysAllowModeSwitch: true,
alwaysAllowSubtasks: true,
autoApprovalEnabled: true,
alwaysAllowFollowupQuestions: true,
enableCheckpoints: false,
},
text:

View file

@ -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 ...'",
})