File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,11 +84,11 @@ export class Search extends Viewlet {
8484 }
8585
8686 async expandReplace ( ) : Promise < void > {
87- await this . code . waitAndClick ( `${ VIEWLET } .search-widget .monaco-button.toggle-replace-button.collapse ` ) ;
87+ await this . code . waitAndClick ( `${ VIEWLET } .search-widget .monaco-button.toggle-replace-button.codicon-chevron-right ` ) ;
8888 }
8989
9090 async collapseReplace ( ) : Promise < void > {
91- await this . code . waitAndClick ( `${ VIEWLET } .search-widget .monaco-button.toggle-replace-button.expand ` ) ;
91+ await this . code . waitAndClick ( `${ VIEWLET } .search-widget .monaco-button.toggle-replace-button.codicon-chevron-down ` ) ;
9292 }
9393
9494 async setReplaceText ( text : string ) : Promise < void > {
@@ -100,12 +100,12 @@ export class Search extends Viewlet {
100100
101101 await retry (
102102 ( ) => this . code . waitAndClick ( fileMatch ) ,
103- ( ) => this . code . waitForElement ( `${ fileMatch } .action-label.codicon.action -replace-all` , el => ! ! el && el . top > 0 && el . left > 0 , 10 )
103+ ( ) => this . code . waitForElement ( `${ fileMatch } .action-label.codicon.codicon -replace-all` , el => ! ! el && el . top > 0 && el . left > 0 , 10 )
104104 ) ;
105105
106106 // ¯\_(ツ)_/¯
107107 await new Promise ( c => setTimeout ( c , 500 ) ) ;
108- await this . code . waitAndClick ( `${ fileMatch } .action-label.codicon.action -replace-all` ) ;
108+ await this . code . waitAndClick ( `${ fileMatch } .action-label.codicon.codicon -replace-all` ) ;
109109 }
110110
111111 async waitForResultText ( text : string ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments