File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ export class Explorer extends Viewlet {
29
29
}
30
30
31
31
async openFile ( fileName : string ) : Promise < any > {
32
- await this . code . waitForElement ( `div[class="monaco-icon-label file-icon ${ fileName } -name-file-icon ${ this . getExtensionSelector ( fileName ) } explorer-item"]` ) ;
33
- await new Promise ( c => setTimeout ( c , 500 ) ) ;
34
32
await this . code . waitAndDoubleClick ( `div[class="monaco-icon-label file-icon ${ fileName } -name-file-icon ${ this . getExtensionSelector ( fileName ) } explorer-item"]` ) ;
35
33
await this . editors . waitForEditorFocus ( fileName ) ;
36
34
}
Original file line number Diff line number Diff line change @@ -12,9 +12,12 @@ export function setup(opts: minimist.ParsedArgs) {
12
12
13
13
afterSuite ( opts ) ;
14
14
15
- it ( 'shows explorer and opens a file' , async function ( ) {
15
+ it . skip ( 'shows explorer and opens a file' , async function ( ) {
16
16
const app = this . app as Application ;
17
17
await app . workbench . explorer . openExplorerView ( ) ;
18
+
19
+ await new Promise ( c => setTimeout ( c , 500 ) ) ;
20
+
18
21
await app . workbench . explorer . openFile ( 'app.js' ) ;
19
22
} ) ;
20
23
} ) ;
You can’t perform that action at this time.
0 commit comments