We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 706975e commit 323164aCopy full SHA for 323164a
e2e/src/suite/task.test.ts
@@ -23,11 +23,11 @@ suite("Roo Code Task", () => {
23
24
await waitUntilCompleted({ api, taskId })
25
26
- const completion = messages.find(({ say, partial }) => say === "completion_result")
27
-
28
assert.ok(
29
- completion?.text?.includes("My name is Roo"),
30
- `Completion should include "My name is Roo" - ${completion?.text}`,
+ !!messages.find(
+ ({ say, text }) => (say === "completion_result" || say === "text") && text?.includes("My name is Roo"),
+ ),
+ `Completion should include "My name is Roo"`,
31
)
32
})
33
0 commit comments