Merge pull request #138516 from microsoft/tyriar/137847

Try removing timeout in checkWindowReady
This commit is contained in:
Daniel Imms 2021-12-22 10:38:41 -08:00 committed by GitHub
commit daf4ba622f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,9 +119,5 @@ export class Application {
if (this.web) {
await code.waitForTextContent('.monaco-workbench .statusbar-item[id="status.host"]', undefined, s => !s.includes('Opening Remote'), 2000);
}
// wait a bit, since focus might be stolen off widgets
// as soon as they open (e.g. quick access)
await new Promise(c => setTimeout(c, 1000));
}
}