Skip to content

Commit 323164a

Browse files
committed
Fix flake
1 parent 706975e commit 323164a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

e2e/src/suite/task.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ suite("Roo Code Task", () => {
2323

2424
await waitUntilCompleted({ api, taskId })
2525

26-
const completion = messages.find(({ say, partial }) => say === "completion_result")
27-
2826
assert.ok(
29-
completion?.text?.includes("My name is Roo"),
30-
`Completion should include "My name is Roo" - ${completion?.text}`,
27+
!!messages.find(
28+
({ say, text }) => (say === "completion_result" || say === "text") && text?.includes("My name is Roo"),
29+
),
30+
`Completion should include "My name is Roo"`,
3131
)
3232
})
3333
})

0 commit comments

Comments
 (0)