smoke - fix compile

pull/147393/head^2
Benjamin Pasero 2022-04-13 17:37:52 +02:00
parent 98d2ea4444
commit 675b8c3da0
No known key found for this signature in database
GPG Key ID: E6380CC4C8219E65
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
import { Workbench } from './workbench';
import { Code, launch, LaunchOptions } from './code';
import { Logger, measureAndLog } from './logger';
import { PlaywrightDriver } from './playwrightDriver';
export const enum Quality {
Dev,
@ -145,7 +146,7 @@ export class Application {
const driver = code.driver;
// Web / Legacy: just poll for workbench element
if (this.web) {
if (this.web || !(driver instanceof PlaywrightDriver)) {
await measureAndLog(code.waitForElement('.monaco-workbench'), 'Application#checkWindowReady: wait for .monaco-workbench element', this.logger);
}