@@ -128,43 +128,6 @@ test.describe("session timeline projection", () => {
128128 await expect ( page . locator ( '[data-timeline-row="TurnGap"]' ) ) . toBeVisible ( )
129129 } )
130130
131- test ( "renders comment strips and historical diff summary overflow" , async ( { page } ) => {
132- const user = userMessage (
133- [
134- userText ( "The user made the following comment regarding lines 4 through 8 of src/a.ts: Keep this stable" , {
135- id : "prt_comment_only" ,
136- synthetic : true ,
137- metadata : {
138- opencodeComment : {
139- path : "src/a.ts" ,
140- selection : { startLine : 4 , startChar : 0 , endLine : 8 , endChar : 0 } ,
141- comment : "Keep this stable" ,
142- } ,
143- } ,
144- } ) ,
145- userText ( "Continue after the comment" , { id : "prt_comment_visible" } ) ,
146- ] ,
147- { summary : { diffs : Array . from ( { length : 11 } , ( _ , index ) => summaryDiff ( index ) ) } } ,
148- )
149- const nextUser = userMessage ( undefined , { id : "msg_2000_diff_next_user" , created : 1700000010000 } )
150- const nextAssistant = assistantMessage ( [ ] , {
151- id : "msg_2001_diff_next_assistant" ,
152- parentID : "msg_2000_diff_next_user" ,
153- created : 1700000011000 ,
154- } )
155- await setupTimeline ( page , {
156- messages : [ user , assistantMessage ( ) , nextUser , nextAssistant ] ,
157- settings : { newLayoutDesigns : false } ,
158- } )
159- const scroller = page . locator ( ".scroll-view__viewport" , { has : page . locator ( "[data-timeline-row]" ) } )
160- await scroller . evaluate ( ( element ) => ( element . scrollTop = 0 ) )
161-
162- await expect ( page . locator ( '[data-timeline-row="CommentStrip"]' ) ) . toBeVisible ( )
163- await expect ( page . getByText ( "Keep this stable" , { exact : true } ) ) . toBeVisible ( )
164- await expect ( page . locator ( '[data-timeline-row="DiffSummary"]' ) ) . toBeVisible ( )
165- await expect ( page . getByText ( / s h o w a l l / i) ) . toBeVisible ( )
166- } )
167-
168131 test ( "renders interruption independently when the turn is not compacted" , async ( { page } ) => {
169132 const user = userMessage ( )
170133 const before = assistantMessage ( [ { id : "prt_before" , type : "text" , text : "Before" } ] , {
0 commit comments