Skip to content

Commit 993ebd9

Browse files
roomoteedelauna
authored andcommitted
test(e2e): await subtask approval restoration
1 parent efc30cf commit 993ebd9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/vscode-e2e/src/suite/subtasks.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ suite("Roo Code Subtasks", function () {
213213
const parentAskCount = asks[parentTaskId]?.length ?? 0
214214

215215
await api.clearCurrentTask()
216-
api.resumeTask(parentTaskId)
216+
await api.resumeTask(parentTaskId)
217217
await waitFor(() => hasToolAsk(parentTaskId, "newTask", parentAskCount))
218218
assert.ok(
219219
!asks[parentTaskId]?.slice(parentAskCount).some(({ ask }) => ask === "resume_task"),
@@ -235,7 +235,7 @@ suite("Roo Code Subtasks", function () {
235235
const childAskCount = asks[childTaskId!]?.length ?? 0
236236

237237
await api.clearCurrentTask()
238-
api.resumeTask(childTaskId!)
238+
await api.resumeTask(childTaskId!)
239239
await waitFor(() => hasToolAsk(childTaskId!, "finishTask", childAskCount))
240240
assert.ok(
241241
!asks[childTaskId!]

0 commit comments

Comments
 (0)