@@ -358,10 +358,10 @@ describe('Multiple Connections Sidebar Component', function () {
358358 const favAction = screen . getByText ( 'Unfavorite' ) ;
359359 expect ( favAction ) . to . be . visible ;
360360
361- const duplicateAction = screen . getByText ( 'Duplicate' ) ;
361+ const duplicateAction = screen . getByText ( 'Duplicate connection ' ) ;
362362 expect ( duplicateAction ) . to . be . visible ;
363363
364- const removeAction = screen . getByText ( 'Remove' ) ;
364+ const removeAction = screen . getByText ( 'Remove connection ' ) ;
365365 expect ( removeAction ) . to . be . visible ;
366366 } ) ;
367367
@@ -389,10 +389,10 @@ describe('Multiple Connections Sidebar Component', function () {
389389 const favAction = screen . getByText ( 'Favorite' ) ;
390390 expect ( favAction ) . to . be . visible ;
391391
392- const duplicateAction = screen . getByText ( 'Duplicate' ) ;
392+ const duplicateAction = screen . getByText ( 'Duplicate connection ' ) ;
393393 expect ( duplicateAction ) . to . be . visible ;
394394
395- const removeAction = screen . getByText ( 'Remove' ) ;
395+ const removeAction = screen . getByText ( 'Remove connection ' ) ;
396396 expect ( removeAction ) . to . be . visible ;
397397 } ) ;
398398 } ) ;
@@ -438,8 +438,8 @@ describe('Multiple Connections Sidebar Component', function () {
438438 expect ( screen . getByText ( 'Copy connection string' ) ) . to . be . visible ;
439439 // because it is already a favorite
440440 expect ( screen . getByText ( 'Unfavorite' ) ) . to . be . visible ;
441- expect ( screen . getByText ( 'Duplicate' ) ) . to . be . visible ;
442- expect ( screen . getByText ( 'Remove' ) ) . to . be . visible ;
441+ expect ( screen . getByText ( 'Duplicate connection ' ) ) . to . be . visible ;
442+ expect ( screen . getByText ( 'Remove connection ' ) ) . to . be . visible ;
443443 } ) ;
444444
445445 it ( 'should render the only connected connections when toggled' , async ( ) => {
@@ -511,7 +511,11 @@ describe('Multiple Connections Sidebar Component', function () {
511511
512512 expect ( workspace . openShellWorkspace ) . to . have . been . calledWith (
513513 savedFavoriteConnection . id ,
514- { newTab : true }
514+ {
515+ newTab : true ,
516+ initialEvaluate : undefined ,
517+ initialInput : undefined ,
518+ }
515519 ) ;
516520
517521 await waitFor ( ( ) => {
@@ -652,7 +656,7 @@ describe('Multiple Connections Sidebar Component', function () {
652656 within ( connectionItem ) . getByLabelText ( 'Show actions' )
653657 ) ;
654658
655- userEvent . click ( screen . getByText ( 'Duplicate' ) ) ;
659+ userEvent . click ( screen . getByText ( 'Duplicate connection ' ) ) ;
656660
657661 // We see the connect button in the form modal
658662 expect ( screen . getByTestId ( 'connect-button' ) ) . to . be . visible ;
@@ -675,7 +679,7 @@ describe('Multiple Connections Sidebar Component', function () {
675679 within ( connectionItem ) . getByLabelText ( 'Show actions' )
676680 ) ;
677681
678- userEvent . click ( screen . getByText ( 'Remove' ) ) ;
682+ userEvent . click ( screen . getByText ( 'Remove connection ' ) ) ;
679683
680684 await waitFor ( ( ) => {
681685 expect (
0 commit comments