File tree Expand file tree Collapse file tree
rascal-vscode-extension/src/test/vscode-suite Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ export class IDEOperations {
291291 await new Workbench ( ) . executeCommand ( "workbench.action.revertAndCloseActiveEditor" ) ;
292292 } catch ( ex ) {
293293 const title = ignoreFails ( new TextEditor ( ) . getTitle ( ) ) ?? 'unknown' ;
294- this . screenshot ( `revert of ${ title } failed ` + tryCount ) ;
294+ await this . screenshot ( `revert of ${ title } failed ` + tryCount ) ;
295295 console . log ( `Revert of ${ title } failed, but we ignore it` , ex ) ;
296296 }
297297 try {
@@ -307,7 +307,7 @@ export class IDEOperations {
307307 return ! ( await new TextEditor ( ) . isDirty ( ) ) ;
308308 }
309309 catch ( ignored ) {
310- this . screenshot ( "open editor check failed " + tryCount ) ;
310+ await this . screenshot ( "open editor check failed " + tryCount ) ;
311311 console . log ( "Open editor dirty check failed: " , ignored ) ;
312312 return false ;
313313
You can’t perform that action at this time.
0 commit comments