startup timeout

This commit is contained in:
Joao Moreno
2018-04-12 15:00:44 +02:00
parent ebc3719977
commit 2098851c25
+4
View File
@@ -120,6 +120,10 @@ export class Application {
await this.code.waitForWindowIds(ids => ids.length > 0);
await this.code.waitForElement('.monaco-workbench');
// wait a bit, since focus might be stolen off widgets
// as soon as they open (eg quick open)
await new Promise(c => setTimeout(c, 500));
}
private retrieveKeybindings(): Promise<void> {