File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
special-pages/pages/new-tab/app/favorites/integration-tests Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,8 @@ export class FavoritesPage {
2828
2929 async opensInNewWindow ( ) {
3030 await this . nthFavorite ( 0 ) . click ( { modifiers : [ 'Shift' ] } ) ;
31- await this . nthFavorite ( 0 ) . click ( { button : 'middle' } ) ;
32- const calls = await this . ntp . mocks . waitForCallCount ( { method : 'favorites_open' , count : 2 } ) ;
31+ const calls = await this . ntp . mocks . waitForCallCount ( { method : 'favorites_open' , count : 1 } ) ;
3332 expect ( calls [ 0 ] . payload . params ) . toStrictEqual ( { id : 'id-many-1' , url : 'https://example.com/?id=id-many-1' , target : 'new-window' } ) ;
34- expect ( calls [ 1 ] . payload . params ) . toStrictEqual ( { id : 'id-many-1' , url : 'https://example.com/?id=id-many-1' , target : 'new-window' } ) ;
3533 }
3634
3735 async opensInSameTab ( ) {
You can’t perform that action at this time.
0 commit comments