Fix #80304 - wait for remote window to actually connect before running tests

This commit is contained in:
Rob Lourens 2019-09-04 17:28:59 -07:00
parent d25a7dd5a2
commit 7edc8f786e

View file

@ -142,7 +142,7 @@ export class Application {
await this.code.waitForElement('.monaco-workbench');
if (this.remote) {
await this.code.waitForElement('.monaco-workbench .statusbar-item[id="status.host"]');
await this.code.waitForTextContent('.monaco-workbench .statusbar-item[id="status.host"]', ' TestResolver');
}
// wait a bit, since focus might be stolen off widgets