We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b1d513 commit 2ed847bCopy full SHA for 2ed847b
test/automation/src/explorer.ts
@@ -29,6 +29,8 @@ export class Explorer extends Viewlet {
29
}
30
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
await this.code.waitAndDoubleClick(`div[class="monaco-icon-label file-icon ${fileName}-name-file-icon ${this.getExtensionSelector(fileName)} explorer-item"]`);
35
await this.editors.waitForEditorFocus(fileName);
36
0 commit comments