@@ -261,8 +261,12 @@ suite.define(() => {
261261 . toBe ( true ) ;
262262 await expect . poll ( ( ) => state . locator ( ".session-run-spinner" ) . isVisible ( ) ) . toBe ( true ) ;
263263 await expect . poll ( ( ) => state . locator ( ".session-unread-dot" ) . isVisible ( ) ) . toBe ( true ) ;
264+ const link = row . locator ( ".sidebar-recent-session__link" ) ;
264265 const pin = row . getByRole ( "button" , { name : "Pin thread" } ) ;
265266 const menu = row . getByRole ( "button" , { name : "Open thread menu" } ) ;
267+ await expect
268+ . poll ( ( ) => link . evaluate ( ( element ) => getComputedStyle ( element ) . paddingRight ) )
269+ . toBe ( "68px" ) ;
266270
267271 const [ restingNameBounds , restingStateBounds , restingPinBounds , restingMenuBounds ] =
268272 await Promise . all ( [
@@ -286,6 +290,9 @@ suite.define(() => {
286290 await expect . poll ( ( ) => actionOpacity ( state ) ) . toBe ( "0" ) ;
287291 await expect . poll ( ( ) => actionOpacity ( pin ) ) . toBe ( "1" ) ;
288292 await expect . poll ( ( ) => actionOpacity ( menu ) ) . toBe ( "1" ) ;
293+ await expect
294+ . poll ( ( ) => link . evaluate ( ( element ) => getComputedStyle ( element ) . paddingRight ) )
295+ . toBe ( "52px" ) ;
289296
290297 const [ nameBounds , pinBounds , menuBounds ] = await Promise . all ( [
291298 row . locator ( ".sidebar-recent-session__name" ) . boundingBox ( ) ,
@@ -303,6 +310,9 @@ suite.define(() => {
303310 await expect . poll ( ( ) => actionOpacity ( state ) ) . toBe ( "0" ) ;
304311 await expect . poll ( ( ) => actionOpacity ( pin ) ) . toBe ( "1" ) ;
305312 await expect . poll ( ( ) => actionOpacity ( menu ) ) . toBe ( "1" ) ;
313+ await expect
314+ . poll ( ( ) => link . evaluate ( ( element ) => getComputedStyle ( element ) . paddingRight ) )
315+ . toBe ( "52px" ) ;
306316
307317 const [ focusedNameBounds , focusedPinBounds , focusedMenuBounds ] = await Promise . all ( [
308318 row . locator ( ".sidebar-recent-session__name" ) . boundingBox ( ) ,
0 commit comments