Skip to content

Commit 096c469

Browse files
committed
test(e2e): require restored completion turn
1 parent e3a191d commit 096c469

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/vscode-e2e/src/suite/restart-persistence.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ async function runVerify(api: RooCodeAPI): Promise<void> {
8080
assert.ok(historyItem, "Task history item should be available after restart")
8181
assert.ok(historyItem.task.includes("RESTART_PERSISTENCE_SMOKE"), "History title should persist after restart")
8282
const conversationLength = await api.getTaskApiConversationHistoryLength(taskId)
83-
assert.ok(conversationLength > 0, "Completion should make API conversation history available to a fresh host")
83+
assert.ok(
84+
conversationLength >= 2,
85+
"Completion should make the user and assistant API conversation turns available to a fresh host",
86+
)
8487

8588
await writePhaseResult(getResultsDir(), {
8689
version: PHASE_RESULT_VERSION,

0 commit comments

Comments
 (0)