File tree Expand file tree Collapse file tree
apps/vscode-e2e/src/suite Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,9 +106,15 @@ async function runVerify(api: RooCodeAPI): Promise<void> {
106106 reopenedHistoryItem . task . includes ( "RESTART_PERSISTENCE_SMOKE" ) ,
107107 "Reopened task should retain its persisted history title" ,
108108 )
109- assert . ok (
110- ( await api . getTaskApiConversationHistoryLength ( taskId ) ) >= conversationLength ,
111- "Reopened task should retain its persisted API conversation history" ,
109+ const reopenedCompletion = await api . hasTaskApiConversationHistorySequence ( taskId , {
110+ userText : "RESTART_PERSISTENCE_SMOKE" ,
111+ assistantToolName : "attempt_completion" ,
112+ assistantToolInputText : MARKER ,
113+ } )
114+ assert . strictEqual (
115+ reopenedCompletion ,
116+ true ,
117+ "Reopened-host history should restore the marked user turn followed by its assistant completion" ,
112118 )
113119
114120 await writePhaseResult ( getResultsDir ( ) , {
You can’t perform that action at this time.
0 commit comments